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

Feature/test seobnrv4 phm #56

Merged
merged 6 commits into from
Jan 16, 2025
Merged

Feature/test seobnrv4 phm #56

merged 6 commits into from
Jan 16, 2025

Conversation

sfield17
Copy link
Contributor

Adds model regression test for new seobnrv4PHM model implemented in #52

This change addresses two open issues where users were unable to
download surrogates using wget on their machine.
@@ -56,7 +66,7 @@

original_regression_data = "model_regression_data.h5"
extra_regression_data = "model_regression_data_new.h5"
new_model = "NRHybSur3dq8_CCE" # name of new model with regression data in fp_new but not fp_old
new_model = "SEOBNRv4PHMSur" # name of new model with regression data in fp_new but not fp_old

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't look at the code, but is ok that new_model no longer checks for NRHybSur3dq8_CCE?

Copy link
Contributor Author

@sfield17 sfield17 Jan 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this script (add_model_regresion.py) is only used to add new model regression data to the model regression hdf5 file. The "new_model" variable name is just pointing to the model whose data was most recently added.

Adding data is "stacking"... the hdf5 file is extended to include the new model regression data.

In short, all of the models (including NRHybSur3dq8_CCE) are still tested as before.

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.

2 participants