LSSTDESC / rail

Top level "umbrella" package for RAIL
MIT License
5 stars 3 forks source link

Smoke tests failing for dsps_photometry_creator.py #141

Open hangqianjun opened 1 month ago

hangqianjun commented 1 month ago

Bug report

File /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/rail/creation/engines/dsps_photometry_creator.py:245, in DSPSPhotometryCreator.run(self) 242 self.model = self.get_data('model') 244 redshifts = self.model[self.config.redshift_key][()] --> 245 rest_frame_seds = self.model[self.config.restframe_sed_key][()] 247 ssp_data = load_ssp_templates(fn=self.config.ssp_templates_file) 248 filter_wavelengths = np.stack((self.filter_wavelengths,) * len(redshifts), axis=0)

KeyError: 'restframe_seds'

Before submitting Please check the following:

hangqianjun commented 1 month ago

This works for local computers; may want to skip this notebook for smoke test for now.