LSSTDESC / rail

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

AssertionError in dsps_sed_demo #139

Closed torluca closed 2 months ago

torluca commented 2 months ago

Bug report

It has been reported an AssertionError when running the smoke test for the dsps_sed_demo.ipynb python notebook.

AssertionError: /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/rail/examples_data/creation_data/data/dsps_default_data/ssp_data_fsps_v3.2_lgmet_age.h5 does not exist

The error occurs due to the not existence of the "ssp_data_fsps_v3.2_lgmet_age.h5" file. When not present in the default data directory, this file is curled from the web. In doing so, the resulting path looks wrong and the file is not found.

When comparing the dsps_sed_demo notebook with the one in rail_dsps, they had some differences. On my local machine, I matched the two versions and the dsps_sed_demo notebook in rail is running without any issue.

I'll create a branch where I will do the exact same modification to check whether the smoke test issue is fixed.