Skip to content

Commit

Permalink
to create a gif the images must exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamuish committed Nov 17, 2020
1 parent 44f7f7a commit 9adb01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyarchi/routines/photometric_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def photometry(data_fits, save_folder, **kwargs):
logger.fatal("Errors found during run time")
return -1

if (kwargs["plot_realtime"]) and not kwargs["optimize"]:
if (kwargs["plot_realtime"] or kwargs['save_gif']) and not kwargs["optimize"]:
pnt_mask = np.zeros(data_fits.stars[0].latest_mask.shape)
for star in data_fits.stars:
plt.contour(star.latest_mask)
Expand Down

0 comments on commit 9adb01b

Please sign in to comment.