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

Ignore known-benign extraneous files in simulation results #1117

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

GabrielKS
Copy link
Contributor

I got tired of these warnings:
Screenshot 2024-06-21 at 4 09 25 PM
and we should aim to eliminate warnings that cry wolf. Here I add a list of regexes similar to a .gitignore that represent files we know it is safe to ignore.


Happy to cherry-pick and set the base branch to something else, this was the most standard-looking branch I could find that actually compiles with PSY4.

@GabrielKS GabrielKS requested review from daniel-thom and jd-lara June 21, 2024 22:43
@jd-lara jd-lara changed the base branch from rh/psy4_renaming to jd/area_balance_network_models June 24, 2024 17:15
@jd-lara jd-lara merged commit d2db0bf into jd/area_balance_network_models Jun 24, 2024
1 of 6 checks passed
@@ -1,6 +1,7 @@
function check_folder_integrity(folder::String)
folder_files = readdir(folder)
alien_files = setdiff(folder_files, KNOWN_SIMULATION_PATHS)
alien_files = filter(x -> !any(occursin.(IGNORABLE_FILES, x)), alien_files)
Copy link
Contributor

Choose a reason for hiding this comment

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

This has caused complaints for years. Who cares if there are extra files in the directory? Can we remove this altogether?

Copy link
Contributor Author

@GabrielKS GabrielKS Jun 24, 2024

Choose a reason for hiding this comment

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

Looks like it was added in its current form here, can we remember the rationale? @jd-lara

@jd-lara jd-lara deleted the gks/ignore_extraneous branch June 28, 2024 20:11
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.

3 participants