Skip to content

Commit

Permalink
mrged conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
simonvh committed Jul 7, 2017
2 parents 193446e + 8650f1c commit 9add053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gimmemotifs/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def best_score(self, seqs, scan_rc=True):
"""
self.set_threshold(threshold=0.0)
for matches in self.scan(seqs, 1, scan_rc):
scores = [sorted(m, key=lambda x: x[0])[0][0] for m in matches]
scores = [sorted(m, key=lambda x: x[0])[0][0] for m in matches if len(m) > 0]
yield scores

def best_match(self, seqs, scan_rc=True):
Expand Down

0 comments on commit 9add053

Please sign in to comment.