Skip to content
Snippets Groups Projects
Commit e2681ee7 authored by smayer's avatar smayer
Browse files

changed "exit()" to "raise SystemExit" for Jupyter Notebook functionality, clearer error message

parent bf2888d5
Branches
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ def get_biggest_subset(img_names, imgs, features, matches, conf_thresh=1.0, matc
features_subset = []
num = len(indices)
if num < 2:
print('Need more images')
print('Need more images, no matches found!')
raise SystemExit
for i in range(num):
img_subset.append(imgs[indices[i, 0]])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment