twVolc / PyCamPermanent

Permanent PiCam (SO2) installation project software
GNU General Public License v3.0
2 stars 2 forks source link

Save SO2 PNG setting in GUI doesn't work #180

Closed twVolc closed 2 months ago

twVolc commented 2 months ago

In File > Save > Options, "Save SO2 PNG" doesn't make the data actually save SO2 PNGs. It seems that the config attribute "save_img_so2" does still link to saving images, as if you manually change this in the config file it will then save the images. But changing the GUI option doesn't do anything.

When manually ticked in the GUI, the PyplisWorker.save_dict is still: {'img_aa': {'save': False, 'ext': '.npy'}, 'img_cal': {'save': False, 'ext': '.npy'}, 'img_SO2': {'save': False, 'compression': 0}}

twVolc commented 2 months ago

Looks like apply_config() hadn't been called in SaveFrame.gather_vars() in `gui/Menu.py', so the settings weren't updated.

twVolc commented 2 months ago

Closing as fix is merged to Dev branch