From 5145fc3eff819f16324321f1628ae952a899760c Mon Sep 17 00:00:00 2001 From: Rachel Duffin Date: Wed, 29 Mar 2023 14:30:24 +0100 Subject: [PATCH] Update variable name --- upload_and_setoff_workflows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload_and_setoff_workflows.py b/upload_and_setoff_workflows.py index c0d2f06a..1abee328 100644 --- a/upload_and_setoff_workflows.py +++ b/upload_and_setoff_workflows.py @@ -1494,7 +1494,7 @@ def start_building_dx_run_cmds(self): commands_list.append(self.create_tso500_command()) commands_list.append(self.add_to_depends_list("TSO500")) for sample in self.list_of_processed_samples: - pannumber = re.search(r"Pan\d+", fastq).group() + pannumber = re.search(r"Pan\d+", sample).group() commands_list.append( self.create_fastqc_command(sample, pannumber) )