1
2
3
4
5
6 from Ganga.Core.exceptions import GangaException
7 from Ganga.GPIDev.Base import GangaObject
8 from Ganga.GPIDev.Schema import *
9
12
14 """
15 """
16 _schema = Schema(Version(0,0), {})
17 _category = 'mergers'
18 _hidden = 1
19
20
21
22
23
24 set_outputdir_for_automerge = True
25
26 - def merge(self, subjobs, sum_outputdir, **options ):
27 """
28 Merge the output of subjobs into the sum_outputdir.
29 The options (keyword arguments) are merger-implementation specific and should be defined in the derived classes.
30 """
31
32 raise NotImplementedError
33
35 """ Some info """
36
37 self.merge(job, sum_outputdir, subjobs)
38
39 return None
40