Skip to content

Commit

Permalink
better error messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
bw4sz committed Jun 2, 2020
1 parent 9a30f22 commit 80fd76b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Zooniverse/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def screen_blanks(images, model):
if not boxes.empty:
screened_images[filename] = metadata
else:
print("Remove {}, screened empty".format(path))
print("Remove {}, screened empty".format(filename))

#return keys for dict

Expand Down Expand Up @@ -176,7 +176,7 @@ def main(path, everglades_watch, model=None, save_dir="/orange/ewhite/everglades
subject_set = create_subject_set(name=basename, everglades_watch=everglades_watch)

#Upload
#upload(subject_set, screened_images, everglades_watch)
upload(subject_set, screened_images, everglades_watch)

return saved_file

Expand Down

0 comments on commit 80fd76b

Please sign in to comment.