diff --git a/sample-management-custom/caosdb-server/scripting/bin/crawl_sample_data_async.py b/sample-management-custom/caosdb-server/scripting/bin/crawl_sample_data_async.py index a786927d2ad80d9ce00ad82b756902605a420897..bf8192c8d97c08c29abc9f06c8189f2e8580cade 100755 --- a/sample-management-custom/caosdb-server/scripting/bin/crawl_sample_data_async.py +++ b/sample-management-custom/caosdb-server/scripting/bin/crawl_sample_data_async.py @@ -144,13 +144,13 @@ def update_sample_records(data, htmluserlog_public): row[get_column_header_name("entity_id")]) raise DataInconsistencyError(msg) - # All special properties are added here if get_column_header_name("sample_name") in data: # We want to allow to overwrite the name with empty # values. Note that this is cureently broken in the # crawler and needs to be fixed there. 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) # Add additional properties