Commit 2237adaf authored by Pinar Alper's avatar Pinar Alper
Browse files

Fixed bug blocking export of collaboration details

parent 13742219
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment