Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added two new tests #47

Merged
merged 3 commits into from
Sep 8, 2024
Merged

Added two new tests #47

merged 3 commits into from
Sep 8, 2024

Conversation

scottperkins
Copy link
Member

@scottperkins scottperkins commented Sep 8, 2024

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

  • Added package dependency
  • Added data
  • Documentation change
  • code change

Additional context

scottperkins and others added 3 commits September 8, 2024 11:05
…imply 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
@scottperkins scottperkins linked an issue Sep 8, 2024 that may be closed by this pull request
@astrophpeter astrophpeter merged commit 37fff30 into main Sep 8, 2024
6 checks passed
@scottperkins scottperkins deleted the model_io_tests branch September 10, 2024 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test that all data files are named in available models dynamically
2 participants