medpy.utilities.argparseu.sequenceOfIntegersLt#

medpy.utilities.argparseu.sequenceOfIntegersLt(string)[source]#

A custom type for the argparse commandline parser. Accepts only colon-separated lists of valid integer values that are less than 0.

Examples

>>> parser.add_argument('argname', type=sequenceOfIntegersLt, help='help')