Fix crashing when no idents exist

pull/56/head
Chris Lewicki 2019-12-31 07:12:46 -08:00
parent b7056d9329
commit e0ef2980b9
1 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,8 @@ def process_loop(fname):
# Extract tracks
if is_calibrated(ff):
screenoutput_idents = extract_tracks(fname, trkrmin, drdtmin, drdtmax, trksig, ntrkmin, root_dir, results_dir)
else:
screenoutput_idents = None
# Stars available and used
nused = np.sum(pix_catalog.flag == 1)