Skip to content

Commit

Permalink
Fixed copy and paste issue in line 46. This was breaking the code
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagofrepereira2012 committed Aug 24, 2015
1 parent 7772758 commit 012078c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bob/bio/base/tools/scoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ def _open_to_read(score_file):
if not os.path.exists(score_file):
score_file += '.tar.bz2'
if not os.path.exists(score_file):
f.close()
os.remove(output)
raise IOError("The score file '%s' cannot be found. Aborting!" % score_file)
return bob.measure.load.open_file(score_file)

Expand Down

0 comments on commit 012078c

Please sign in to comment.