andreped commited on
Commit
82a4988
·
unverified ·
1 Parent(s): 9f284dc

Fixed dtype to threshold arg

Browse files
Files changed (1) hide show
  1. lungtumormask/__main__.py +1 -1
lungtumormask/__main__.py CHANGED
@@ -14,7 +14,7 @@ def main():
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', help='whether to apply lungmask postprocessing.')
17
- parser.add_argument('--threshold', metavar='threshold', type=int, default=0.4,
18
  help='which threshold to use for assigning voxel-wise classes.')
19
 
20
  argsin = sys.argv[1:]
 
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', help='whether to apply lungmask postprocessing.')
17
+ parser.add_argument('--threshold', metavar='threshold', type=float, default=0.4,
18
  help='which threshold to use for assigning voxel-wise classes.')
19
 
20
  argsin = sys.argv[1:]