Commit 364ac882 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix out filename

parent 758e7428
......@@ -685,7 +685,9 @@ class Paf:
o_fasta = os.path.join(os.path.dirname(query_fasta), "as_reference_" + os.path.basename(query_fasta))
if o_fasta.endswith(".gz"):
o_fasta = o_fasta[:-3]
if not os.path.exists(o_fasta):
if os.path.exists(o_fasta):
query_fasta = o_fasta
uncompressed = False
if query_fasta.endswith(".gz"):
uncompressed = True
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment