Skip to content

Commit

Permalink
Merge pull request #130 from EdHarry/patch-1
Browse files Browse the repository at this point in the history
Fix layout_unitigs
  • Loading branch information
skoren committed May 19, 2021
2 parents 4c80ac1 + e6e3c77 commit 1b76bf6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions layout_unitigs.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,11 +678,11 @@ def insert(assignment, seed_scaffolds):
total_max = score_fow
orientation = 'fow'
pos = i
else:
if score_rev > total_max:
total_max = score_rev
orientation = 'rev'
pos = i
else:
if score_rev > total_max:
total_max = score_rev
orientation = 'rev'
pos = i

if total_max != -1:
#print contig
Expand Down

0 comments on commit 1b76bf6

Please sign in to comment.