Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 89fb4f05 authored by usov_i's avatar usov_i
Browse files

Translate metadata entry zebramode -> zebra_mode

parent 019a36bb
No related branches found
No related tags found
No related merge requests found
Pipeline #30853 passed
......@@ -17,6 +17,7 @@ META_VARS_STR = (
"original_filename",
"date",
"zebra_mode",
"zebramode",
"sample_name",
)
......@@ -136,6 +137,8 @@ def parse_1D(fileobj, data_type, log=logger):
try:
if var_name in META_VARS_STR:
if var_name == "zebramode":
var_name = "zebra_mode"
metadata[var_name] = value
elif var_name in META_VARS_FLOAT:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment