Commit 89eba178 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix mstake

parent 80c9bd62
......@@ -497,7 +497,7 @@ class Paf:
:return: content of the file
"""
index = self.idx_q if to == "query" else self.idx_t
name, contigs_list, contigs, reversed, abs_start, c_len = Index.load(self.idx_t)
name, contigs_list, contigs, reversed, abs_start, c_len = Index.load(index)
with open(self.paf, "r") as paf:
for line in paf:
c_name = line.strip("\n").split("\t")[0 if to == "query" else 5]
......
Markdown is supported
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