-
Notifications
You must be signed in to change notification settings - Fork 38
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
Explicitly cast to str
a few cube
and cubes
instances in _io.py
#2526
base: main
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
whoa!! Who's activated Precommit on PRs again? @bouweandela that you, bud? |
Sorry about that. Here is a pull request to disable the automatic commits: #2527 |
cheers bud! Let me revert that PC commit now then |
This reverts commit f905f39.
for more information, see https://pre-commit.ci
This reverts commit 7196f16.
OK that wildebeest is now gone, for good 😁 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2526 +/- ##
=======================================
Coverage 94.83% 94.83%
=======================================
Files 251 251
Lines 14191 14191
=======================================
Hits 13458 13458
Misses 733 733 ☔ View full report in Codecov by Sentry. |
converting this to Draft since it may need more stuff, depending what @rswamina finds out on JASMIN |
Description
We found out in ESMValGroup/ESMValTool#3738 that one particular call to
logger.debug
hangs the run if thecube
object it needs to print out is not explicitly cast tostr
- as @rswamina asks - why this happens only for certain datasets, and not for all, the answer is "beats me", but the run hanging is 100% due to this issue, and is perfectly reproducible on JASMIN (not elsewhere) - so I guess it's a combination oflocale
and the particularcube
that needs be debug logged. At any rate, this fixes a problem that we don't really know the cause of, but fixes it does 😁Before you get started
Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.
To help with the number pull requests: