Skip to content
Snippets Groups Projects
Commit e4a851ee authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

DOCS(sample_export): Move inline comment

parent 9f91ac71
No related branches found
No related tags found
1 merge request!2F sample name
...@@ -144,13 +144,13 @@ def update_sample_records(data, htmluserlog_public): ...@@ -144,13 +144,13 @@ def update_sample_records(data, htmluserlog_public):
row[get_column_header_name("entity_id")]) row[get_column_header_name("entity_id")])
raise DataInconsistencyError(msg) raise DataInconsistencyError(msg)
# All special properties are added here
if get_column_header_name("sample_name") in data: if get_column_header_name("sample_name") in data:
# We want to allow to overwrite the name with empty # We want to allow to overwrite the name with empty
# values. Note that this is cureently broken in the # values. Note that this is cureently broken in the
# crawler and needs to be fixed there. # crawler and needs to be fixed there.
sample.name = return_value_if_not_none(row[get_column_header_name("sample_name")]) sample.name = return_value_if_not_none(row[get_column_header_name("sample_name")])
# All special properties are added here
sample = add_special_properties(sample, row) sample = add_special_properties(sample, row)
# Add additional properties # Add additional properties
......
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