SNEWS2 / snewpy

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

Fix `_metadata_from_filename` and add test #337

Closed JostMigenda closed 6 months ago

JostMigenda commented 6 months 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 6 months ago

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