From e4a851ee07b88a5e4e03f1d12a95dfea5e4c6660 Mon Sep 17 00:00:00 2001 From: Florian Spreckelsen <f.spreckelsen@indiscale.com> Date: Fri, 21 Mar 2025 11:25:50 +0100 Subject: [PATCH] DOCS(sample_export): Move inline comment --- .../caosdb-server/scripting/bin/crawl_sample_data_async.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a786927..bf8192c 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 -- GitLab