Package Ganga :: Package Lib :: Package Mergers :: Module Merger :: Class _TextMergeTool
[hide private]
[frames] | no frames]

Class _TextMergeTool

source code

                 object --+            
                          |            
   GPIDev.Base.Objects.Node --+        
                              |        
GPIDev.Base.Objects.GangaObject --+    
                                  |    
                         IMergeTool --+
                                      |
                                     _TextMergeTool

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

Nested Classes [hide private]
  _proxyClass
Very simple merge tool to cat together text files.

Inherited from GPIDev.Base.Objects.GangaObject: __metaclass__

Instance Methods [hide private]
 
mergefiles(self, file_list, output_file)
file_list: A list of fully qualified file names that should be merged together.
source code

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]
  _category = 'merge_tools'
  _hidden = 1
  _name = '_TextMergeTool'
  _schema = IMergeTool._schema.inherit_copy()
  compress = <Ganga.GPIDev.Base.Objects.Descriptor object at 0x1...

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

mergefiles(self, file_list, output_file)

source code 

file_list: A list of fully qualified file names that should be merged together. output_file: The name of the file to write the merge results to.

If the merge fails for any reason, then a MergerError should be thrown.

Overrides: IMergeTool.mergefiles
(inherited documentation)

Class Variable Details [hide private]

compress

Value:
<Ganga.GPIDev.Base.Objects.Descriptor object at 0x17f7490>