Skip to content

Commit

Permalink
Merge pull request #230 from marrink-lab/fix/228
Browse files Browse the repository at this point in the history
change argument type for grid spacing from int to float
  • Loading branch information
fgrunewald authored Jul 4, 2022
2 parents 5b31a2b + e55637a commit 6bf8f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/polyply
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def main(): # pylint: disable=too-many-locals,too-many-statements
'# and -.'))

system_group = parser_gen_coords.add_argument_group('Options for system generation')
system_group.add_argument('-gs', dest='grid_spacing', type=int,
system_group.add_argument('-gs', dest='grid_spacing', type=float,
help='grid spacing (nm)', default=0.2)
system_group.add_argument('-grid', dest='grid', type=str,
help='file with grid-points', default=None)
Expand Down

0 comments on commit 6bf8f51

Please sign in to comment.