Skip to content

Commit

Permalink
Merge pull request #92 from BirdVox/fix-90
Browse files Browse the repository at this point in the history
Fix 90
  • Loading branch information
lostanlen authored Jul 12, 2021
2 parents 5ad058e + 3b2512a commit e96eeff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions birdvoxdetect/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ def process_file(
consistent_pred_dict, json_dict = classify_species(
classifier, chunk_pcen, th_peak_loc, taxonomy
)
if row is None:
if consistent_pred_dict is None:
none_peak_ids.append(peak_id)
continue
rows.append(
Expand Down Expand Up @@ -689,7 +689,7 @@ def process_file(
consistent_pred_dict, json_dict = classify_species(
classifier, chunk_pcen, th_peak_loc, taxonomy
)
if row is None:
if consistent_pred_dict is None:
none_peak_ids.append(peak_id)
continue
rows.append(
Expand Down Expand Up @@ -942,7 +942,7 @@ def process_file(
consistent_pred_dict, json_dict = classify_species(
classifier, chunk_pcen, th_peak_loc, taxonomy
)
if row is None:
if consistent_pred_dict is None:
none_peak_ids.append(peak_id)
continue
rows.append(
Expand Down
2 changes: 1 addition & 1 deletion birdvoxdetect/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
short_version = "0.6"
version = "0.6.0a3"
version = "0.6.0a5"

0 comments on commit e96eeff

Please sign in to comment.