Improve_quality_fixes: missing docstrings, and raised exceptions missing from docstrings PART 1 - #4462
Merged
Conversation
clmould
force-pushed
the
improve_quality_fixes
branch
from
July 23, 2026 17:44
12e6870 to
d7b6c83
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4462 +/- ##
==========================================
+ Coverage 48.67% 48.76% +0.08%
==========================================
Files 151 151
Lines 29734 29782 +48
==========================================
+ Hits 14474 14524 +50
+ Misses 15260 15258 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
clmould
force-pushed
the
improve_quality_fixes
branch
from
July 23, 2026 17:57
f5737c1 to
1b831b9
Compare
je-cook
reviewed
Jul 24, 2026
clmould
force-pushed
the
improve_quality_fixes
branch
from
July 28, 2026 16:45
143ca08 to
3c4e260
Compare
clmould
marked this pull request as ready for review
July 29, 2026 16:35
je-cook
approved these changes
Jul 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Some more improve_quality_fixes - currently focussing on missing docstrings, and raised exceptions missing from docstrings
Having to leave some:
Missing ProcessValueError in peak_b_field_at_pf_coil - from the way this error is currently written, I can't determine concisely why it is being raised (#4467 should make the ProcessValueError clearer, then this can be documented in the docstring)
Missing BadParameter in process_cli - if I included this in the docstring, it would appear in the
process --helpmenuLeaving scan.py alone due to scan pr #4482
This PR has worked on:
examples/
process/core/io/vary_run
process/core/solver
process/core (not in any sub folder)
process/models/
tests/
tracking/
Checklist
I confirm that I have completed the following checks: