This is an "error" that occurs at the very end of using PESSTOFASTSPEC and does not really affect the reduction, but is annoying. This happens with the latest versions of the pipeline (with python 3) and Ubuntu/Linux (not sure if Mac OS as well).
#######################################
### end of reduction
### output files:
tLSQ12btn_20120411_Gr13_Free_slit1.0_1_ex.fits
tLSQ12btn_20120411_Gr13_Free_slit1.0_1_f.fits
tLSQ12btn_20120411_Gr13_Free_slit1.0_1_2df.fits
tLSQ12btn_20120411_Gr13_Free_slit1.0_1_f.asci
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/home/tomas/anaconda3/envs/pessto/lib/python3.7/site-packages/matplotlib/_pylab_helpers.py", line 90, in destroy_all
manager.destroy()
File "/home/tomas/anaconda3/envs/pessto/lib/python3.7/site-packages/matplotlib/backends/_backend_tk.py", line 513, in destroy
delayed_destroy()
File "/home/tomas/anaconda3/envs/pessto/lib/python3.7/site-packages/matplotlib/backends/_backend_tk.py", line 503, in delayed_destroy
self.window.destroy()
File "/home/tomas/anaconda3/envs/pessto/lib/python3.7/tkinter/__init__.py", line 2062, in destroy
self.tk.call('destroy', self._w)
_tkinter.TclError: can't invoke "destroy" command: application has been destroyed
Anyway, the quick solution is to comment out line 90 in the file _pylab_helpers.py in your matplotlib directory of your environment (i.e. manager.destroy() --> #manager.destroy()).
This is an "error" that occurs at the very end of using
PESSTOFASTSPEC
and does not really affect the reduction, but is annoying. This happens with the latest versions of the pipeline (with python 3) and Ubuntu/Linux (not sure if Mac OS as well).Anyway, the quick solution is to comment out line 90 in the file
_pylab_helpers.py
in your matplotlib directory of your environment (i.e.manager.destroy()
-->#manager.destroy()
).