-
Notifications
You must be signed in to change notification settings - Fork 15
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
fix logic to extract parameters from file names in the contour subfolder #1510
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main-dev #1510 +/- ##
============================================
+ Coverage 78.33% 78.34% +0.01%
============================================
Files 140 140
Lines 21413 21410 -3
============================================
+ Hits 16773 16774 +1
+ Misses 4640 4636 -4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
̶t̶e̶s̶t̶e̶d̶ ̶w̶i̶t̶h̶ ̶a̶n̶ ̶o̶n̶l̶y̶m̶a̶p̶ ̶r̶u̶n̶ ̶f̶o̶r̶ ̶c̶a̶m̶s̶2̶_̶8̶3̶ ̶a̶n̶d̶ ̶i̶t̶ ̶s̶o̶l̶v̶e̶s̶ ̶t̶h̶e̶ ̶i̶s̶s̶u̶e̶ ̶ ̶ edit: it solves the issue as in the job ends with exit code 0 but I get these line in the logs update: checked and these warnings are indeed normal, so I consider the issue solved |
7b97efc
to
2b6506f
Compare
I checked an old experiment with overlays and the file naming logic was indeed the opposite there, as in model_var_per.webp, ( |
@charlienegri The templates that are currently be used are defined here ( |
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.
See comment.
name = spl[0] | ||
var_name = spl[1] | ||
per = spl[2] |
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.
This does not appear to match the template string in aerovaldb, according to which the order should be var_name, name, period. If this gives the right behaviour, and doesn't work with the aerovaldb something weird is going on.
Change Summary
extraction of parameters from file names in the contour folder cannot be discriminated anymore on the pure base of how many
_
-separated substrings they containRelated issue number
fix #1509
Checklist