Skip to content

Commit

Permalink
Fix bad paired reads importing
Browse files Browse the repository at this point in the history
  • Loading branch information
aghozlane committed Oct 23, 2024
1 parent 9e9aa89 commit 5791053
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions meteor/fastqimporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,10 @@ def execute(self) -> None:
else:
logging.warning("Regular expression does not match %s", fastq_file)
continue
if self.ispaired:
sample_name = self.get_paired_dirname(fastq_file.name, tag)
else:
if self.ispaired:
sample_name = self.get_paired_dirname(fastq_file.name, tag)
else:
sample_name = full_sample_name
sample_name = full_sample_name
logging.info("Importing %s in sample %s", fastq_file, sample_name)
# Create directory for the sample and symlink fastq file into
samples_names.add(sample_name)
Expand Down

0 comments on commit 5791053

Please sign in to comment.