IMP
2.1.0
The Integrative Modeling Platform
|
IMP-specific subclass of optparse.OptionParser. More...
Inherits OptionParser.
Public Member Functions | |
def | parse_args |
Parse the command line and return options and positional arguments. More... | |
This adds options common to all IMP applications (see IMP::base::setup_from_argv()).
Definition at line 7449 of file kernel/__init__.py.
def IMP.kernel.OptionParser.parse_args | ( | self, | |
num_positional = None |
|||
) |
This functions in the same way as the method in the base class optparse.OptionParser, except that it also processes options common to all IMP applications (these are not returned in opts, but can be obtained in the usual way, e.g. by calling IMP::base::get_string_flag()).
[in] | num_positional | If a positive integer, exactly that many positional arguments must be specified on the command line; if a negative integer, that many or more must be given; if None, any number of positional arguments can be given. |
Definition at line 7502 of file kernel/__init__.py.