-
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
Allows relative paths for diagnostic scripts. #2329
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2329 +/- ##
=======================================
Coverage 94.76% 94.77%
=======================================
Files 251 251
Lines 14280 14282 +2
=======================================
+ Hits 13533 13536 +3
+ Misses 747 746 -1 ☔ View full report in Codecov by Sentry. |
@rbeucher would you be able to run pre-commit on this one please, mate? I'll have a look after - my sincere apologies, no idea why I made this PR wait for so long |
…Core into run_local_diagnostics
@valeriupredoi , this one should be good to go |
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 have tested and is working for me
# Try diagnostics_root | ||
script_file = ( | ||
diagnostics_root / Path(script).expanduser() | ||
).absolute() |
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.
should we add to the error message that another path was tried?
err_msg += f" or ({script_file})"
Description
Closes #2328
Link to documentation:
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: