LLNL / popclass

A lightweight python package that allows fast, probabilistic classification of the lens of a microlensing event
https://popclass.readthedocs.io
MIT License
1 stars 0 forks source link

Added two new tests #47

Closed scottperkins closed 3 weeks ago

scottperkins commented 3 weeks ago

Fixes # . Issue #25. simply adding test coverage to ensure IO capabilities for population models and ensuring consistency between the model libraries parameters in popclass and the data stored in the project.

Description of the Change

One to test the ASDF IO for population models. Simply saves a toy model to a temporary file, then checks to make sure its valid. Also added a test to ensure the available model keys in model.py match what's in the data directory in popclass

Also, fixed a small typo in model.py.

Checklist

Please check all that apply to your proposed changes

Additional context