medpy.utilities
medpy.utilities.argparseu.sequenceOfIntegers
medpy.utilities.argparseu.sequenceOfIntegersGe
medpy.utilities.argparseu.
sequenceOfIntegersGt
A custom type for the argparse commandline parser. Accepts only colon-separated lists of valid integer values that are greater than 0.
Examples
>>> parser.add_argument('argname', type=sequenceOfIntegersGt, help='help')