Skip to content

Commit

Permalink
Merge pull request #475 from xpsi-group/368-image_order_limit-helper-…
Browse files Browse the repository at this point in the history
…docstring-mentions-no-hard-bounds-if-no-argument-is-passed-but-default-argument-set-to-3

default arg changed to `None`
  • Loading branch information
DevarshiChoudhury authored Dec 6, 2024
2 parents 0023305 afb7309 commit c6649ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/examples_module_generator/_auto_modules/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 751,7 @@ def str_to_bool(x):

parser.add_argument('--image-order-limit',
type=int,
default=3,
default=None,
help='The highest-order image to sum over. Either a positive integer, or do not pass an argument if a hard limit is not desired.',
comment_line_above='global resolution flags')

Expand Down
2 changes: 1 addition & 1 deletion xpsi/module_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 1278,7 @@ def __call__(self, parser, namespace, values, option_string=None):
'''
parser.add_argument('--image-order-limit',
type=int,
default=3,
default=None,
help='The highest-order image to sum over. Either a positive integer, or do not pass an argument if a hard limit is not desired.',
comment_line_above='global resolution flags')
'''
Expand Down

0 comments on commit c6649ae

Please sign in to comment.