spacetelescope / webbpsf

James Webb Space Telescope PSF simulation tool
https://webbpsf.readthedocs.io
BSD 3-Clause "New" or "Revised" License
119 stars 63 forks source link

A typo in NIRSpec.disperser_list #888

Closed WenkeRen closed 4 months ago

WenkeRen commented 4 months ago

Hi there,

I find that the G395M is not accepted when it is set to disperser of class NIRSpec. It is possibly due to a typo at the line 3171 of webbpsf_core.py, which wrongly spells the name as G394M. I'm not sure if this typo would caused any further error. Please check, thanks.

mperrin commented 4 months ago

Thank you @WenkeRen. You're completely correct, that typo is the problem. Thanks much for bringing that to our attention. We'll fix that ASAP in the code here on GitHub, and you can also simply edit that line of the code in your local copy to get it working for you right away there. Cheers and thanks again.