Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pinar Alper
metadata-tools
Commits
5d2e0499
Commit
5d2e0499
authored
Mar 18, 2021
by
Vilem Ded
Browse files
fix - cohort contacts are now built correctly
parent
302af819
Changes
1
Hide whitespace changes
Inline
Side-by-side
metadata_tools/importxls/dish_xls_exporter.py
View file @
5d2e0499
...
...
@@ -81,7 +81,7 @@ class DishXlsExporter:
}
if
sheet
[
12
,
1
]
and
sheet
[
15
,
1
]:
cohort_dict
[
"contacts"
]
=
cohort_dict
[
"contacts"
].
append
({
"first_name"
:
get_names_from_string
(
sheet
[
12
,
1
])[
0
],
cohort_dict
[
"contacts"
].
append
({
"first_name"
:
get_names_from_string
(
sheet
[
12
,
1
])[
0
],
"last_name"
:
get_names_from_string
(
sheet
[
12
,
1
])[
1
],
"role"
:
sheet
[
15
,
1
],
"email"
:
sheet
[
13
,
1
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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