andreped commited on
Commit
eebfaf9
1 Parent(s): a0b45a1

Fixed typo in argparse method

Browse files
Files changed (1) hide show
  1. lungtumormask/__main__.py +1 -1
lungtumormask/__main__.py CHANGED
@@ -13,7 +13,7 @@ def main():
13
  parser = argparse.ArgumentParser()
14
  parser.add_argument('input', metavar='input', type=path, help='Path to the input image, should be .nifti')
15
  parser.add_argument('output', metavar='output', type=str, help='Filepath for output tumormask')
16
- parser.argument('--lung-filter', action='store_true',
17
  help="whether to apply lungmask postprocessing.")
18
 
19
  argsin = sys.argv[1:]
 
13
  parser = argparse.ArgumentParser()
14
  parser.add_argument('input', metavar='input', type=path, help='Path to the input image, should be .nifti')
15
  parser.add_argument('output', metavar='output', type=str, help='Filepath for output tumormask')
16
+ parser.add_argument('--lung-filter', action='store_true',
17
  help="whether to apply lungmask postprocessing.")
18
 
19
  argsin = sys.argv[1:]