Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions samplesheetutils/binaries/create_samplesheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,8 @@ def create_samplesheet():

for i_file_name in file_list:
with open(i_file_name, "r") as fp:
fasta_data = read_fasta(fp, read_data=True, single_line=(not args.monomer))
sample_data.extend(fasta_data)
logger.debug(f"Added sample {i_file_name}, {fasta_data}")
sample_data.append(Sample(os.path.splitext(os.path.basename(fp.name))[0], fp.name, ""))
logger.debug(f"Added sample {i_file_name}, {sample_data[-1]}")

samplesheet_path = args.output_file
logger.debug(f"Sample data array length: {len(sample_data)}")
Expand Down