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
87e7b89a
Commit
87e7b89a
authored
1 year ago
by
L. Bower
Browse files
Options
Downloads
Patches
Plain Diff
making surveys file match main branch
parent
471ce70f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configs/docker/build/Dockerfile
+1
-1
1 addition, 1 deletion
configs/docker/build/Dockerfile
coordinator/ProcessorSurveysnewODK2.py
+8
-8
8 additions, 8 deletions
coordinator/ProcessorSurveysnewODK2.py
with
9 additions
and
9 deletions
configs/docker/build/Dockerfile
+
1
−
1
View file @
87e7b89a
...
...
@@ -40,7 +40,7 @@ ARG UNAME=ewsmanager
ARG
UID=1006
ARG
GID=1008
RUN
groupadd
-g
$GID
$GNAME
RUN
useradd
-l
-m
-u
$UID
-g
$GID
-o
-s
/bin/bash
$UNAME
RUN
useradd
-m
-u
$UID
-g
$GID
-o
-s
/bin/bash
$UNAME
USER
$UNAME
RUN
echo
$PYTHONPATH
...
...
This diff is collapsed.
Click to expand it.
coordinator/ProcessorSurveysnewODK2.py
+
8
−
8
View file @
87e7b89a
...
...
@@ -51,7 +51,7 @@ def get_newODK2_form_as_csv(form_credentials: dict, jobPath: str, config: dict,
'
today
'
:
(
'
parse_date
'
,((
'
name_out
'
,
'
today
'
),(
'
fmt_in
'
,
'
%Y-%m-%d
'
))),
'
deviceid
'
:
'
deviceid
'
,
'
imei
'
:
'
imei
'
,
'
phonenumber
'
:
'
None
'
,
#
'phonenumber' : 'None',
'
username
'
:
'
username
'
,
'
surveyor_information/region
'
:
'
None
'
,
'
surveyor_information/country
'
:
'
surveyor_infromation-country
'
,
...
...
@@ -73,7 +73,7 @@ def get_newODK2_form_as_csv(form_credentials: dict, jobPath: str, config: dict,
'
site_information/area_unit
'
:
'
None
'
,
'
site_information/field_area
'
:
'
None
'
,
'
site_information/field_area_in_ha
'
:
'
site_information-field_area
'
,
'
site_information/variety
'
:
'
site_information-variety
'
,
#
'site_information/variety
_eth
' : 'site_information-variety',
'
site_information/survey_site_other
'
:
'
None
'
,
'
major_observed_diseases
'
:
'
None
'
,
'
SR/SR_incidence
'
:
(
'
parse_cases
'
,((
'
name_out
'
,
'
stem_rust-stemrust_incidence
'
),(
'
cases
'
,
cases_incident
),(
'
fillna
'
,
'
none
'
))),
...
...
@@ -95,12 +95,12 @@ def get_newODK2_form_as_csv(form_credentials: dict, jobPath: str, config: dict,
'
septoria/septoria_incidence
'
:
'
septoria-septoria_incidence
'
,
'
septoria/septoria_severity
'
:
'
septoria-septoria_severity
'
,
'
septoria/septoria_image
'
:
'
None
'
,
'
blast/blast_incidence
'
:
'
None
'
,
'
blast/blast_severity
'
:
'
None
'
,
'
blast/blast_image
'
:
'
None
'
,
'
SB/SB_incidence
'
:
'
None
'
,
'
SB/SB_severity
'
:
'
None
'
,
'
SB/SB_image
'
:
'
None
'
,
#
'blast/blast_incidence' : 'None',
#
'blast/blast_severity' : 'None',
#
'blast/blast_image' : 'None',
#
'SB/SB_incidence' : 'None',
#
'SB/SB_severity' : 'None',
#
'SB/SB_image' : 'None',
'
FHB/FHB_incidence
'
:
'
None
'
,
'
FHB/FHB_severity
'
:
'
None
'
,
'
FHB/FHB_image
'
:
'
None
'
,
...
...
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