def __init__(self,params,sub_name, summary_signature,workdir_name): cgWDictFile.glideinEntryDicts.__init__(self,params.submit_dir,params.stage_dir,sub_name,summary_signature,workdir_name, params.log_dir,params.client_log_dirs,params.client_proxies_dirs) self.monitor_dir=cgWConsts.get_entry_monitor_dir(params.monitor_dir,sub_name) self.add_dir_obj(cWDictFile.monitorWLinkDirSupport(self.monitor_dir,self.work_dir)) self.params=params
def __init__(self, conf, sub_name, summary_signature, workdir_name): submit_dir = conf.get_submit_dir() stage_dir = conf.get_stage_dir() monitor_dir = conf.get_monitor_dir() log_dir = conf.get_log_dir() client_log_dirs = conf.get_client_log_dirs() client_proxy_dirs = conf.get_client_proxy_dirs() cgWDictFile.glideinEntryDicts.__init__( self, submit_dir, stage_dir, sub_name, summary_signature, workdir_name, log_dir, client_log_dirs, client_proxy_dirs, ) self.monitor_dir = cgWConsts.get_entry_monitor_dir(monitor_dir, sub_name) self.add_dir_obj(cWDictFile.monitorWLinkDirSupport(self.monitor_dir, self.work_dir)) self.conf = conf