FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 5c534c3a authored by L. Bower's avatar L. Bower
Browse files

repackaging (phase 1)

parent 3f0181ce
No related branches found
No related tags found
No related merge requests found
Showing
with 6 additions and 6 deletions
File moved
File moved
File moved
File moved
...@@ -289,7 +289,7 @@ def parse_and_check_args(todayString): ...@@ -289,7 +289,7 @@ def parse_and_check_args(todayString):
if not args.live: if not args.live:
# remove the log handler that would send emails # remove the log handler that would send emails
logger.handlers = [h for h in logger.handlers if not isinstance(h,BufferingSMTPHandler.BufferingSMTPHandler)] logger.handlers = [h for h in logger.handlers if not isinstance(h, BufferingSMTPHandler.BufferingSMTPHandler)]
if not isinstance(args.config_paths,list): if not isinstance(args.config_paths,list):
logger.error('Expecting a list of config paths') logger.error('Expecting a list of config paths')
...@@ -391,11 +391,11 @@ def run_Process(): ...@@ -391,11 +391,11 @@ def run_Process():
workspacePath = universal_config['WorkspacePathout'] workspacePath = universal_config['WorkspacePathout']
process_pre_job = getattr(ProcessorComponents,universal_config['ProcessPreJob']) process_pre_job = getattr(ProcessorComponents, universal_config['ProcessPreJob'])
process_in_job = getattr(ProcessorComponents,universal_config['ProcessInJob']) process_in_job = getattr(ProcessorComponents, universal_config['ProcessInJob'])
process_EWS_plotting = getattr(ProcessorComponents,universal_config['ProcessEWSPlotting']) process_EWS_plotting = getattr(ProcessorComponents, universal_config['ProcessEWSPlotting'])
# determine job directory # determine job directory
jobPath = f'{workspacePath}{short_name[args.component]}_{args.start_date}' jobPath = f'{workspacePath}{short_name[args.component]}_{args.start_date}'
......
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
# Ignore everything in this directory # Ignore everything in this directory
* .gitignore
# Except this file # Except this file
!.gitignore !.gitignore
...@@ -31,7 +31,7 @@ source /storage/app/miniconda3/bin/activate ${conda_env} ...@@ -31,7 +31,7 @@ source /storage/app/miniconda3/bin/activate ${conda_env}
proc_path="$( dirname "$(readlink -f "$0" )" )" proc_path="$( dirname "$(readlink -f "$0" )" )"
# run the processor with all arguments # run the processor with all arguments
python ${proc_path}/Processor.py "$@" python ${proc_path}/coordinator/Processor.py "$@"
# deactivate conda environment # deactivate conda environment
source /storage/app/miniconda3/bin/deactivate ${conda_env} source /storage/app/miniconda3/bin/deactivate ${conda_env}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment