Skip to content

Commit

Permalink
Improved error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Apr 22, 2021
1 parent adc7731 commit 1764963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/BioSimSpace/Solvent/_solvent.py
Original file line number Diff line number Diff line change
Expand Up @@ -848,8 +848,8 @@ def _solvate(molecule, box, angles, shell, model, num_point,
# Check for the tpr output file.
if not _os.path.isfile("ions.tpr"):
if shell is None:
raise RuntimeError("'gmx grommp' failed to generate output! "
"Perhaps your box is too small?")
raise RuntimeError("'gmx grommp' failed to generate the required output for "
"'gmx genion'. Perhaps your box is too small?")
else:
is_break = True
_warnings.warn("Unable to achieve target ion concentration, try using "
Expand Down

0 comments on commit 1764963

Please sign in to comment.