Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Gitlab will go into maintenance Friday 3rd February from 9:00 to 10:00
Open sidebar
elixir
metadata-tools
Commits
2237adaf
Commit
2237adaf
authored
Oct 25, 2018
by
Pinar Alper
Browse files
Fixed bug blocking export of collaboration details
parent
13742219
Changes
1
Hide whitespace changes
Inline
Side-by-side
metadata_tools/importxls/from_collab_exporter.py
View file @
2237adaf
...
...
@@ -52,13 +52,11 @@ class FromCollabXlsExporter(DatasetExporter):
collab_dict
[
'collab_pi'
]
=
collab_pi
if
sheet
[
18
,
2
]:
collab_dict
[
'collab_project'
]
=
sheet
[
18
,
2
]
if
process_yes_no_dontknow_answer
(
sheet
[
17
,
2
])
==
False
:
collab_dict
[
'collab_role'
]
=
'controller'
elif
process_yes_no_dontknow_answer
(
sheet
[
17
,
2
])
==
True
:
collab_dict
[
'collab_role'
]
=
'joint_controller'
datadec_data
[
'source_collaboration'
]
=
collab_dict
datadec_data
[
'source_collaboration'
]
=
collab_dict
datadec_data
[
'source_notes'
]
=
'Data is from collaborator.'
else
:
print
(
'Missing collaborator information{}
\n
'
.
format
(
full_file_path
))
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment