Package Ganga :: Package Lib :: Package Splitters :: Module ArgSplitter' :: Class ArgSplitter
[hide private]
[frames] | no frames]

Class ArgSplitter

source code

                 object --+            
                          |            
   GPIDev.Base.Objects.Node --+        
                              |        
GPIDev.Base.Objects.GangaObject --+    
                                  |    
GPIDev.Adapters.ISplitter.ISplitter --+
                                      |
                                     ArgSplitter
Known Subclasses:

This is a Ganga.GPI.ArgSplitter implementation class. Refer to Ganga.GPI.ArgSplitter.__doc__ for documentation.

Nested Classes [hide private]
  _proxyClass
Split job by changing the args attribute of the application.

Inherited from GPIDev.Base.Objects.GangaObject: __metaclass__

Instance Methods [hide private]
 
split(self, job)
Return a list of subjobs generated from a master job.
source code

Inherited from GPIDev.Adapters.ISplitter.ISplitter: createSubjob, validatedSplit

Inherited from GPIDev.Base.Objects.GangaObject: __construct__, __deepcopy__, __getstate__, __init__, __setstate__, _attribute_filter__set__, _auto__init__, accept, getJobObject

Inherited from GPIDev.Base.Objects.Node: __copy__, __eq__, __ne__, clone, copyFrom, printSummaryTree, printTree

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
Class Variables [hide private]
  _name = 'ArgSplitter'
  _schema = <Ganga.GPIDev.Schema.Schema.Schema instance at 0x1cb...
  args = <Ganga.GPIDev.Base.Objects.Descriptor object at 0x1cb13d0>

Inherited from GPIDev.Base.Objects.Node (private): _index_cache, _parent

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

split(self, job)

source code 

Return a list of subjobs generated from a master job. The original master job should not be modified. This method should be implemented in the derived classes.

Splitter changes certain parts of the subjobs i.e. mutates certain properties (otherwise all subjobs would be the same). Only these properties may be mutated which are declared 'splitable' in the schema. This restriction applies to application objects to avoid inconsistencies if application handler is not able to deal with modified arguments.

In the current implementation the type of the backend cannot be changed either.

Overrides: GPIDev.Adapters.ISplitter.ISplitter.split
(inherited documentation)

Class Variable Details [hide private]

_schema

Value:
<Ganga.GPIDev.Schema.Schema.Schema instance at 0x1cb33b0>