Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
elixir
metadata-tools
Commits
00b7b6b8
Commit
00b7b6b8
authored
Mar 24, 2021
by
Vilem Ded
Browse files
add notes only if present
parent
65df7741
Changes
1
Hide whitespace changes
Inline
Side-by-side
metadata_tools/importxls/dish_xls_exporter.py
View file @
00b7b6b8
...
...
@@ -97,7 +97,10 @@ class DishXlsExporter:
data_type_info
=
self
.
process_data_types
(
get_value_list_from_row
(
sheet
,
6
))
datadec_dict
[
"data_types"
].
extend
(
data_type_info
[
0
])
datadec_dict
[
"data_type_notes"
]
=
datadec_dict
[
"data_type_notes"
]
+
" "
+
data_type_info
[
1
]
+
" Notes on samples: "
+
sheet
[
10
,
1
]
if
data_type_info
[
1
]:
datadec_dict
[
"data_type_notes"
]
+=
" "
+
data_type_info
[
1
]
if
sheet
[
10
,
1
]:
datadec_dict
[
"data_type_notes"
]
+=
" Notes on samples: "
+
sheet
[
10
,
1
]
#if it involves samples add this as a datatype
if
process_yes_no_answer
(
sheet
[
9
,
1
]):
...
...
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