notebooks icon indicating copy to clipboard operation
notebooks copied to clipboard

Outdated function call in PSF_phot_01 throwing error in notebook

Open rosteen opened this issue 5 years ago • 4 comments

There is a tiny bug in this JWST PSF notebook: webbpsf.utils.to_griddedpsfmodel now takes ext_data and ext_header as arguments rather than ext, so the first code cell under Creating a PSF model fails. Updating the function call to use the new arguments allows the block to run.

rosteen avatar Mar 06 '20 17:03 rosteen

Just for clarity, what version of webbpsf you are running now? cc @mperrin

pllim avatar Mar 06 '20 19:03 pllim

I'm using webbpsf 0.9.0, installed via pip

rosteen avatar Mar 06 '20 19:03 rosteen

Thanks for the info. Do you have plans to open a pull request to fix this?

pllim avatar Mar 06 '20 19:03 pllim

Already did so, here

rosteen avatar Mar 06 '20 19:03 rosteen