Skip to content

Commit

Permalink
Update sample.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiSavici authored Oct 10, 2024
1 parent fcef90f commit 7af6ee8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/shiver/models/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ def get_lattice_ub(self):
err_msg = f"Workspace {self.name} does not exist. Lattice from default parameters\n"
logger.error(err_msg)
except RuntimeError:
err_msg = f"Workspace {self.name} does not contain an OrientedLattice."
" Lattice from default parameters\n"
err_msg = f"Workspace {self.name} does not contain an OrientedLattice. Lattice from default parameters\n"
logger.error(err_msg)
# no valid name-workspace provided, create lattice with initial params
params = {
Expand Down

0 comments on commit 7af6ee8

Please sign in to comment.