IMP logo
IMP Reference Guide  2.18.0
The Integrative Modeling Platform
IMP.ArgumentParser Class Reference

IMP-specific subclass of argparse.ArgumentParser. More...

Inherits ArgumentParser.

Detailed Description

IMP-specific subclass of argparse.ArgumentParser.

This adds options common to all IMP applications (see IMP::setup_from_argv()).

Note
This class is only available in Python.

Definition at line 10737 of file __init__.py.

Public Member Functions

def parse_args
 Parse the command line and return optional and positional arguments. More...
 

Member Function Documentation

def IMP.ArgumentParser.parse_args (   self,
  args = None,
  namespace = None 
)

Parse the command line and return optional and positional arguments.

This functions in the same way as the method in the base class argparse.ArgumentParser, except that it also processes optional arguments common to all IMP applications (these are not returned in args, but can be obtained in the usual way, e.g. by calling IMP::get_string_flag()).

Returns
args

Definition at line 10756 of file __init__.py.


The documentation for this class was generated from the following file: