FAQ
| This is a
LIVE
service |
Changelog
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ews-coordinator
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gilligan Lab for Epidemiology and Modelling
Wheat rusts
ews-coordinator
Commits
96c558d0
Commit
96c558d0
authored
6 months ago
by
L. Bower
Browse files
Options
Downloads
Patches
Plain Diff
changing artifact assets
parent
07eec81a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+7
-2
7 additions, 2 deletions
.gitlab-ci.yml
ews/coordinator/processor_base.py
+7
-5
7 additions, 5 deletions
ews/coordinator/processor_base.py
with
14 additions
and
7 deletions
.gitlab-ci.yml
+
7
−
2
View file @
96c558d0
...
...
@@ -138,21 +138,26 @@ epi_fit:
export EMAIL_CRED
OUTPUT_DIR="/storage/app/EWS_prod/regions/EastAfrica/test_workspace/integration/epi_fit/dev/outputs/"
python3 $PACKAGES_DIR/epimodel/ews/epi_model/fit_lb584.py
/storage/app/EWS_prod/regions/EastAfrica/test_workspace/integration/epi_fit/dev/data_proc/6.0_epi_pipeline/inputs/configs/sys_config_epi_remote.json
/storage/app/EWS_prod/regions/EastAfrica/test_workspace/integration/epi_fit/dev/data_proc/6.0_epi_pipeline/inputs/configs/run_config_epi_long_remote.json
/storage/app/EWS_prod/regions/EastAfrica/test_workspace/integration/epi_fit/dev/outputs/
$OUTPUT_DIR
2016
mkdir $CI_PROJECT_DIR/fitting_outputs
cp -rv /storage/app/EWS_prod/regions/EastAfrica/test_workspace/integration/epi_fit/dev/outputs/preproc_fit/* $CI_PROJECT_DIR/fitting_outputs/
cp -rv $OUTPUT_DIR/*.csv $CI_PROJECT_DIR/fitting_outputs/
cp -rv $OUTPUT_DIR/*.json $CI_PROJECT_DIR/fitting_outputs/
cp -rv $OUTPUT_DIR/parameter_sweep_heatmaps $CI_PROJECT_DIR/fitting_outputs/
artifacts
:
when
:
always
paths
:
-
$CI_PROJECT_DIR/fitting_outputs/
expire_in
:
10 days
full_fat_env_suit
:
when
:
manual
stage
:
full-fat
...
...
This diff is collapsed.
Click to expand it.
ews/coordinator/processor_base.py
+
7
−
5
View file @
96c558d0
...
...
@@ -310,6 +310,8 @@ class ProcessorBase:
the sys_config in the run_config. Additionally, values set in the args are used to supplement the config dict
generated form the json.
Note we dont use the logger in this method as it is called before the logging is set up.
:param args:
:param config_path:
:param sys_config_path:
...
...
@@ -329,8 +331,8 @@ class ProcessorBase:
if
k
not
in
config
.
keys
():
config
[
k
]
=
v
else
:
logger
.
warn
in
g
(
f
"
Key
{
k
}
already present in run config - not adding key with same name from
"
f
"
the sys_config
"
)
pr
in
t
(
f
"
Key
{
k
}
already present in run config - not adding key with same name from
"
f
"
the sys_config
"
)
"""
then add the args keys and values to the config, we will override any keys that are already
...
...
@@ -338,8 +340,8 @@ class ProcessorBase:
"""
for
k
,
v
in
args
.
items
():
if
k
in
config
.
keys
():
logger
.
warn
in
g
(
f
"
Key
{
k
}
already present in run config - overriding key with same name from
"
f
"
the sys args
"
)
pr
in
t
(
f
"
Key
{
k
}
already present in run config - overriding key with same name from
"
f
"
the sys args
"
)
config
[
k
]
=
v
# set various time values based on the start_date that is passed in on the args
...
...
@@ -350,7 +352,7 @@ class ProcessorBase:
config
[
'
StartTime
'
]
=
start_time_string
except
:
logger
.
exception
(
f
"
Failure in opening or checking config
{
config_path
}
"
)
print
(
f
"
Failure in opening or checking config
{
config_path
}
"
)
# TODO: This case should test flagdir.jobStatus.__exit__()
raise
# endJob('ERROR',premature=True)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment