From 61f97525c914da8c743d6cec7cc0614b357e7d02 Mon Sep 17 00:00:00 2001 From: leufen1 <l.leufen@fz-juelich.de> Date: Thu, 22 Jul 2021 09:55:47 +0200 Subject: [PATCH] added start script argument to all run scripts --- run.py | 2 +- run_HPC.py | 2 +- run_hourly.py | 2 +- run_hourly_kz.py | 2 +- run_mixed_sampling.py | 2 +- run_zam347.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/run.py b/run.py index f2bb336e..eb703e11 100644 --- a/run.py +++ b/run.py @@ -28,7 +28,7 @@ def main(parser_args): evaluate_bootstraps=False, # plot_list=["PlotCompetitiveSkillScore"], competitors=["test_model", "test_model2"], competitor_path=os.path.join(os.getcwd(), "data", "comp_test"), - **parser_args.__dict__) + **parser_args.__dict__, start_script=__file__) workflow.run() diff --git a/run_HPC.py b/run_HPC.py index d6dbb4dc..dfa5045b 100644 --- a/run_HPC.py +++ b/run_HPC.py @@ -7,7 +7,7 @@ from mlair.workflows import DefaultWorkflowHPC def main(parser_args): - workflow = DefaultWorkflowHPC(**parser_args.__dict__) + workflow = DefaultWorkflowHPC(**parser_args.__dict__, start_script=__file__) workflow.run() diff --git a/run_hourly.py b/run_hourly.py index 48c72058..869f8ea1 100644 --- a/run_hourly.py +++ b/run_hourly.py @@ -22,7 +22,7 @@ def main(parser_args): train_model=False, create_new_model=False, network="UBA", - plot_list=["PlotStationMap"], **parser_args.__dict__) + plot_list=["PlotStationMap"], **parser_args.__dict__, start_script=__file__) workflow.run() diff --git a/run_hourly_kz.py b/run_hourly_kz.py index 5536b56e..ba293916 100644 --- a/run_hourly_kz.py +++ b/run_hourly_kz.py @@ -19,7 +19,7 @@ def main(parser_args): test_end="2011-12-31", stations=["DEBW107", "DEBW013"] ) - workflow = DefaultWorkflow(**args) + workflow = DefaultWorkflow(**args, start_script=__file__) workflow.run() diff --git a/run_mixed_sampling.py b/run_mixed_sampling.py index 6ffb6599..819ef511 100644 --- a/run_mixed_sampling.py +++ b/run_mixed_sampling.py @@ -36,7 +36,7 @@ def main(parser_args): test_end="2011-12-31", **parser_args.__dict__, ) - workflow = DefaultWorkflow(**args) + workflow = DefaultWorkflow(**args, start_script=__file__) workflow.run() diff --git a/run_zam347.py b/run_zam347.py index 352f0417..49fce3e7 100644 --- a/run_zam347.py +++ b/run_zam347.py @@ -31,7 +31,7 @@ def load_stations(): def main(parser_args): - workflow = DefaultWorkflowHPC(stations=load_stations(), **parser_args.__dict__) + workflow = DefaultWorkflowHPC(stations=load_stations(), **parser_args.__dict__, start_script=__file__) workflow.run() -- GitLab