#================================================================================ #import factory modules #-------------------------------------------------------------------------------- import kronos.pipelineui from kronos.run_manager import RunManager from kronos.job_manager import DrmaaJobManager, SgeJobManager, LocalJobManager from kronos.helpers import JobFailureError, flushqueue from kronos.logger import PipelineLogger, LogWarnErr, LogInfo from kronos.utils import Task #================================================================================ #initialization #-------------------------------------------------------------------------------- args = kronos.pipelineui.args rm = RunManager(args.run_id, args.pipeline_name, args.working_dir) ljm = LocalJobManager(rm.logs_dir, rm.outputs_dir) pl = PipelineLogger() l = pl.get_logger(args.pipeline_name, args.log_file) #================================================================================ #environment preparations #-------------------------------------------------------------------------------- sys.path.insert(0, args.components_dir) job_rcs = Queue() #================================================================================ #import components #-------------------------------------------------------------------------------- from kronos_component_singularity import component_main as kronos_component_singularity_main
#================================================================================ #import factory modules #-------------------------------------------------------------------------------- import kronos.pipelineui from kronos.run_manager import RunManager from kronos.job_manager import DrmaaJobManager, SgeJobManager, LocalJobManager from kronos.helpers import JobFailureError, flushqueue from kronos.logger import PipelineLogger, LogWarnErr, LogInfo from kronos.utils import Task #================================================================================ #initialization #-------------------------------------------------------------------------------- args = kronos.pipelineui.args rm = RunManager(args.run_id, args.pipeline_name, args.working_dir) ljm = LocalJobManager(rm.logs_dir, rm.outputs_dir) pl = PipelineLogger() l = pl.get_logger(args.pipeline_name, args.log_file) #================================================================================ #environment preparations #-------------------------------------------------------------------------------- sys.path.insert(0, args.components_dir) job_rcs = Queue() #================================================================================ #import components #-------------------------------------------------------------------------------- from kronos_component_docker import component_main as kronos_component_docker_main
#================================================================================ #import factory modules #-------------------------------------------------------------------------------- import kronos.pipelineui from kronos.run_manager import RunManager from kronos.job_manager import DrmaaJobManager, SgeJobManager, LocalJobManager from kronos.helpers import JobFailureError, flushqueue from kronos.logger import PipelineLogger, LogWarnErr, LogInfo from kronos.utils import Task #================================================================================ #initialization #-------------------------------------------------------------------------------- args = kronos.pipelineui.args rm = RunManager(args.run_id, args.pipeline_name, args.working_dir) ljm = LocalJobManager(rm.logs_dir, rm.outputs_dir) pl = PipelineLogger() l = pl.get_logger(args.pipeline_name, args.log_file) #================================================================================ #environment preparations #-------------------------------------------------------------------------------- sys.path.insert(0, args.components_dir) job_rcs = Queue() #================================================================================ #import components #-------------------------------------------------------------------------------- from AnnoAndImageToPatch import component_main as AnnoAndImageToPatch_main