-
Notifications
You must be signed in to change notification settings - Fork 23
Fix blank mse_summary #3893
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
base: main
Are you sure you want to change the base?
Fix blank mse_summary #3893
Conversation
The mse_summary.jl script always prints no summaries or error. This is because the reproducibility files are now placed in a seperate subdir. This commit updates the `get_computed_mses` default value for `subfolder` to reflect this Second fix Add a filter for the prog_state, as it is the last in the dir, and t`get_computed_mse` assumes the last file is the latest comparison,.
92b5062
to
2df3367
Compare
I'm probably not the best to review this, so I'll just leave some thoughts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @haakon-e that it would be nice to add a test that checks if the file structure is as expected. Maybe even add a comment somewhere in the docstring, docs or wiki or wherever people dealing with CI issues will look first
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching this, it looks good to me. I will just echo the other comments that this should fail if no relevant files are found to prevent silent failures in the future.
Thanks for the reviews everyone. A test is definitely a good idea, and I will add one before merging. |
The mse_summary.jl script always prints no summaries or error. This is because the reproducibility files are now placed in a separate subfolder, which also contains a prog_state file. This commit updates the
get_computed_mses
default value forsubfolder
to reflect this, and ignores the prog_state file when searching for the most current comparison.closes #3892