Commit 57c88a29 authored by Sean Solari's avatar Sean Solari
Browse files

Bug fix for finding paired reads

parent ee39414f
......@@ -411,13 +411,10 @@ class Distribution:
match_ind = self.best_match(next_file, file_list)
paired_file = file_list.pop(match_ind)
file_queue.append((os.path.join(path, next_file), os.path.join(path, paired_file)))
file_queue.append((next_file, paired_file))
for file_name in file_list:
if os.path.isfile(file_name):
file_queue.append((file_name, ))
file_queue.append((os.path.join(path, file_name),))
file_queue.append((file_name, ))
return file_queue
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