From cecf75859340f6ef4df8dc253b774fa5efb797a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Sv=C3=A4rd?= Date: Wed, 6 Mar 2024 10:43:46 +0100 Subject: [PATCH] update udf name for ont run --- cg_lims/EPPs/files/ont_json_to_udf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cg_lims/EPPs/files/ont_json_to_udf.py b/cg_lims/EPPs/files/ont_json_to_udf.py index 71c8bd8a..0db69b90 100644 --- a/cg_lims/EPPs/files/ont_json_to_udf.py +++ b/cg_lims/EPPs/files/ont_json_to_udf.py @@ -25,7 +25,7 @@ def get_flow_cell_id(artifact: Artifact) -> str: def get_experiment_id(artifact: Artifact) -> str: """""" parent_process = artifact.parent_process - if not parent_process.udf.get("Experiment ID"): + if not parent_process.udf.get("ONT Experiment Name"): raise MissingUDFsError( f"Artifact {artifact.name} (from process {parent_process.id}) is missing an experiment ID!" )