Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sean Solari
exPAM
Commits
57c88a29
Commit
57c88a29
authored
May 19, 2022
by
Sean Solari
Browse files
Bug fix for finding paired reads
parent
ee39414f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/expam/classify/classify.py
View file @
57c88a29
...
...
@@ -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
))
else
:
for
file_name
in
file_list
:
if
os
.
path
.
isfile
(
file_name
):
file_queue
.
append
((
file_name
,
))
else
:
file_queue
.
append
((
os
.
path
.
join
(
path
,
file_name
),))
file_queue
.
append
((
file_name
,
))
return
file_queue
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment