Home | Trees | Indices | Help |
---|
|
1 ################################################################################ 2 # Ganga Project. http://cern.ch/ganga 3 # 4 # $Id: ExeSplitter.py,v 1.1 2008-07-17 16:40:59 moscicki Exp $ 5 ################################################################################ 6 7 from Ganga.GPIDev.Schema import * 8 from Ganga.GPIDev.Adapters.ISplitter import ISplitter 911 """ Split executable applications (OBSOLETE). 12 13 This splitter allows the creation of subjobs where each subjob has a different Executable application. 14 This splitter is OBSOLETED use GenericSplitter or ArgSplitter instead. 15 """ 16 _name = "ExeSplitter" 17 _schema = Schema(Version(1,0), { 18 'apps' : ComponentItem('applications',defvalue=[],sequence=1,doc='a list of Executable app objects') 19 } ) 2031 32 33 # 34 # 35 # $Log: not supported by cvs2svn $ 36 # Revision 1.3 2007/07/10 13:08:32 moscicki 37 # docstring updates (ganga devdays) 38 # 39 # Revision 1.2 2006/08/24 16:52:10 moscicki 40 # splitter.createJob() 41 # 42 # Revision 1.1 2006/06/21 11:27:29 moscicki 43 # splitters moved to the new location 44 # 45 # 46 # 4722 subjobs = [] 23 for a in self.apps: 24 # for each subjob make a full copy of the master job 25 j = self.createSubjob(job) 26 j.application=a 27 if not a.exe: 28 j.application.exe = job.application.exe 29 subjobs.append(j) 30 return subjobs
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Jun 25 10:35:24 2012 | http://epydoc.sourceforge.net |