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
81797e16
Commit
81797e16
authored
9 months ago
by
L. Bower
Browse files
Options
Downloads
Patches
Plain Diff
filename change
parent
e4bd7b21
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ews/coordinator/utils/processor_utils.py
+2
-6
2 additions, 6 deletions
ews/coordinator/utils/processor_utils.py
with
2 additions
and
6 deletions
ews/coordinator/utils/processor_utils.py
+
2
−
6
View file @
81797e16
...
...
@@ -37,6 +37,7 @@ short_name = {
'
Survey
'
:
'
SURVEYDATA
'
,
'
Scraper
'
:
'
SCRAPER
'
,
'
MetResample
'
:
'
MET_RESAMPLE
'
,
'
Meteorology
'
:
'
Meteorology
'
,
}
disease_latin_name_dict
=
{
...
...
@@ -429,12 +430,7 @@ def get_input_data(job_path, config, component):
#TODO: check if file exists already (may be the case for multiple configs in one)
# TODO: perform ssh file transfer in python instead of subprocess
server_name
:
str
=
config
[
'
ServerName
'
]
if
server_name
==
""
:
cmd_scp
:
list
=
[
"
scp
"
,
f
"
{
file_path
}
/
{
file_name
}
.tar.gz
"
,
job_path
]
else
:
cmd_scp
:
list
=
[
"
scp
"
,
"
-i
"
,
config
[
'
ServerKey
'
],
"
-o
"
,
"
StrictHostKeyChecking=no
"
,
f
"
{
server_name
}
:
{
file_path
}
/
{
file_name
}
.tar.gz
"
,
job_path
]
cmd_scp
:
list
=
[
"
scp
"
,
f
"
{
file_path
}
/
{
file_name
}
.tar.gz
"
,
job_path
]
description_short
=
'
env2 scp
'
description_long
=
'
Copying file from remote server to job directory
'
...
...
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