From 7856c2a29a2ad973150e8f1920c7e126d4d2e092 Mon Sep 17 00:00:00 2001 From: glrs <5999366+glrs@users.noreply.github.com> Date: Tue, 15 Oct 2024 16:56:24 +0200 Subject: [PATCH] Refactor class logic to update the [libraries] section in multi_file --- lib/realms/tenx/run_sample.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/realms/tenx/run_sample.py b/lib/realms/tenx/run_sample.py index 2320f42..967e8ad 100644 --- a/lib/realms/tenx/run_sample.py +++ b/lib/realms/tenx/run_sample.py @@ -398,11 +398,11 @@ def generate_multi_sample_csv(self) -> None: # Write the [libraries] section multi_file.write("[libraries]\n") - multi_file.write("fastqs,sample,library_type\n") + multi_file.write("fastq_id,fastqs,feature_types\n") libraries_data = self.collect_libraries_data() for lib in libraries_data: multi_file.write( - f"{lib['fastqs']},{lib['sample']},{lib['library_type']}\n" + f"{lib['sample']},{lib['fastqs']},{lib['library_type']}\n" ) logging.info(