Home | Trees | Indices | Help |
---|
|
object --+ | GPIProxyObject --+ | Lib.Mergers.Merger.CustomMerger._proxyClass
User tool for writing custom merging tools with Python Allows a script to be supplied that performs the merge of some custom file type. The script must be a python file which defines the following function: def mergefiles(file_list, output_file): #perform the merge if not success: return -1 else: return 0 This module will be imported and used by the CustomMerger. The file_list is a list of paths to the files to be merged. output_file is a string path for the output of the merge. This file must exist by the end of the merge or the merge will fail. If the merge cannot proceed, then the function should return a non-zero integer. Clearly this tool is provided for advanced ganga usage only, and should be used with this in mind. Properties: files A list of files to merge.. (simple property, list, default=[],comparable) module Path to a python module to perform the merge.. ('files' object, default=None,comparable) ignorefailed Jobs that are in the failed or killed states will be excluded from the merge when this flag is set to True.. (simple property, default=False,comparable) overwrite The default behaviour for this Merger object. Will overwrite output files.. (simple property, default=False,comparable)
|
|||
_impl This is a Ganga.GPI.CustomMerger implementation class. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
files = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at
|
|||
ignorefailed = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor ob
|
|||
module = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object a
|
|||
overwrite = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor objec
|
|
|||
Inherited from |
|
GPI CustomMerger object constructor: CustomMerger() : create custommerger with default settings; CustomMerger(c) : make a copy of c; CustomMerger(c,x=a,...): make a copy of c and set property 'x' to a, etc..
|
Return an short representation of CustomMerger object.
|
Set a property of CustomMerger with consistency and safety checks. Setting a [protected] or a unexisting property raises AttributeError.
|
Return a printable string representing CustomMerger object as a tree of properties.
|
|
files
|
ignorefailed
|
module
|
overwrite
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Jun 25 10:35:21 2012 | http://epydoc.sourceforge.net |