Skip to content

Commit

Permalink
Refactor class logic to update the [libraries] section in multi_file
Browse files Browse the repository at this point in the history
  • Loading branch information
glrs committed Oct 15, 2024
1 parent 6256fd3 commit 7856c2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/realms/tenx/run_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7856c2a

Please sign in to comment.