SNEWS2 / snewpy

A Python package for working with supernova neutrinos
https://snewpy.readthedocs.io
BSD 3-Clause "New" or "Revised" License
24 stars 17 forks source link

Fix `_metadata_from_filename` and add test #337

Closed JostMigenda closed 1 month ago

JostMigenda commented 1 month ago

Fixes #336, see explanation there.

To avoid repeating this in the future, I’ve also added the SNOwGLoBES_usage.ipynb to our integration tests.

Since this bug broke significant functionality of SNEWPY for several different models, I’d also like to publish a v1.5.1 bugfix release once this PR is merged.

JostMigenda commented 1 month ago

No, just with the metadata fields; the output should be removed in my commit?