aboutsummaryrefslogtreecommitdiff
path: root/bh20sequploader/qc_fasta.py
diff options
context:
space:
mode:
Diffstat (limited to 'bh20sequploader/qc_fasta.py')
-rw-r--r--bh20sequploader/qc_fasta.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bh20sequploader/qc_fasta.py b/bh20sequploader/qc_fasta.py
index e3d4fe7..e47d66b 100644
--- a/bh20sequploader/qc_fasta.py
+++ b/bh20sequploader/qc_fasta.py
@@ -21,8 +21,8 @@ def qc_fasta(sequence):
raise ValueError("FASTA file contains multiple entries")
break
sequence.seek(0)
- return "reads.fastq"
- elif seq_type == "text/fastq":
return "sequence.fasta"
+ elif seq_type == "text/fastq":
+ return "reads.fastq"
else:
raise ValueError("Sequence file does not look like FASTA or FASTQ")