From 5bf8c6c2dc43da662c4552f423d0d90370941dc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Sv=C3=A4rd?= Date: Tue, 6 Feb 2024 17:34:00 +0100 Subject: [PATCH] update date format in experiment name --- cg_lims/EPPs/udf/set/set_ont_sequencing_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cg_lims/EPPs/udf/set/set_ont_sequencing_settings.py b/cg_lims/EPPs/udf/set/set_ont_sequencing_settings.py index 7fe75325..c871125e 100644 --- a/cg_lims/EPPs/udf/set/set_ont_sequencing_settings.py +++ b/cg_lims/EPPs/udf/set/set_ont_sequencing_settings.py @@ -11,7 +11,7 @@ def get_experiment_name(process: Process) -> str: """""" - return f"{date.today()}_{process.id}" + return f"{date.today().strftime('%y%m%d')}_{process.id}" def set_experiment_name(process: Process) -> None: