Back to index

python-biopython  1.60
Public Member Functions | Public Attributes
Bio.Application._Argument Class Reference
Inheritance diagram for Bio.Application._Argument:
Inheritance graph
[legend]
Collaboration diagram for Bio.Application._Argument:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes

 names
 is_filename
 checker_function
 description
 is_required
 is_set
 value

Detailed Description

Represent an argument on a commandline.

Definition at line 560 of file __init__.py.


Constructor & Destructor Documentation

def Bio.Application._Argument.__init__ (   self,
  names,
  description,
  filename = False,
  checker_function = None,
  is_required = False 
)

Definition at line 564 of file __init__.py.

00564 
00565                  checker_function=None, is_required=False):
00566         self.names = names
00567         assert isinstance(description, basestring), \
00568                "%r for %s" % (description, names[-1])
00569         self.is_filename = filename
00570         self.checker_function = checker_function
00571         self.description = description
00572         self.is_required = is_required
00573         self.is_set = False
00574         self.value = None

Here is the caller graph for this function:


Member Function Documentation

Reimplemented from Bio.Application._AbstractParameter.

Definition at line 575 of file __init__.py.

00575 
00576     def __str__(self):
00577         if self.value is None:
00578             return " "
00579         elif self.is_filename:
00580             return "%s " % _escape_filename(self.value)
00581         else:
00582             return "%s " % self.value

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 569 of file __init__.py.

Definition at line 570 of file __init__.py.

Definition at line 568 of file __init__.py.

Definition at line 571 of file __init__.py.

Definition at line 572 of file __init__.py.

Definition at line 565 of file __init__.py.

Definition at line 573 of file __init__.py.


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