mcclearyj / cweb_psf

1 stars 0 forks source link

Webb PSF Plots #7

Closed EdwardBerman closed 1 year ago

EdwardBerman commented 1 year ago

Lines 284-287 in src/psfmaker.py instantiate a single image Webb Model by accessing ['PSF_DATA']. This is housed in a try except block, however, both the initial attempt and exception failed to parse single['PSF_DATA']. In trying to unpack this I loaded a webbPSF model in an ipython session and got the same key error: KeyError: "Extension 'PSF_DATA' not found." The program still ran to completion.

mcclearyj commented 1 year ago

Ah, sorry about that. I hadn't commited/pushed the changes to psfmaker.py that would have prevented this issue for the WebbPSF models made with run_webb_psf.py. I believe e7975c4 should fix this. If it does, feel free to close the issue.

EdwardBerman commented 1 year ago

Yes, it seems like https://github.com/mcclearyj/cweb_psf/commit/e7975c493965973b68f2dd0bb28b8d7862c6f75b did fix the issue!