natashabatalha / PandExo

A Community Tool for Transiting Exoplanet Science with the JWST & HST
https://natashabatalha.github.io/PandExo
GNU General Public License v3.0
37 stars 39 forks source link

key error sed families #61

Closed leojola closed 1 year ago

leojola commented 2 years ago

when I am running the python code example 'run_test.py' I get and error KeyError: 'sed_families' with a version of pandexo recently downloaded. The same happens when using the interface.

When running the interface or the installed version using my own spectra and python code I get the same error if I am choosing the JWST MIRI mode. If I choose the NIRCam instrument, an error occurs concerning the bots files.

Thank you for looking into this.

nespinoza commented 2 years ago

Hi @leojola!

I believe this is related to your pandeia version. Most likely, if you do:

import pandeia.engine
print(pandeia.engine.__version___)

You would see this outputs a number below 1.6, which is what is required by the current version of PandExo. I would suggest you do:

pip install pandeia.engine==1.6 --upgrade

To install Pandeia v.1.6, and try again. Let us know if this works!

Néstor