Skip to content

Commit

Permalink
fixed quotations in warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjonesBSU committed May 26, 2020
1 parent 7f068d8 commit 41669bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mbuild/packing.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@ def fill_box(compound, n_compounds=None, box=None, density=None, overlap=0.2,
try:
iter(fix_orientation[0])
except:
warn('fix_orientation can be given as an iterable of True/False values
for each compound to fix rotations about each x,y,z axis individually.
Using a single instance of True/False defaults to (True,True,True)
and (Fale,False,False) respectively')
warnings.warn("fix_orientation can be given as an iterable of True/False values "
"for each compound to fix rotations about each x,y,z axis individually. "
"Using a single instance of True/False defaults to (True,True,True) "
"and (Fale,False,False) respectively")

if compound is not None and n_compounds is not None:
if len(compound) != len(n_compounds):
Expand Down

0 comments on commit 41669bc

Please sign in to comment.