Skip to content

Ensure i_fw_coolant_type is output as a string#4441

Merged
clmould merged 5 commits into
mainfrom
4422-i_fw_coolant_type-value-cant-be-parsed-in-the-mfile
Jul 17, 2026
Merged

Ensure i_fw_coolant_type is output as a string#4441
clmould merged 5 commits into
mainfrom
4422-i_fw_coolant_type-value-cant-be-parsed-in-the-mfile

Conversation

@timothy-nunn

Copy link
Copy Markdown
Collaborator

Because i_fw_coolant_type was being output as Helium rather than 'helium' (notice the quotes) PROCESS was trying to treat it as a float, not a string.

@timothy-nunn
timothy-nunn requested a review from a team as a code owner July 15, 2026 13:36
@timothy-nunn timothy-nunn linked an issue Jul 15, 2026 that may be closed by this pull request
@clmould clmould self-assigned this Jul 15, 2026
@codecov-commenter

codecov-commenter commented Jul 15, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 48.63%. Comparing base (4763ddc) to head (a59ecad).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
process/core/io/plot/summary.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4441   +/-   ##
=======================================
  Coverage   48.63%   48.63%           
=======================================
  Files         151      151           
  Lines       29673    29676    +3     
=======================================
+ Hits        14432    14434    +2     
- Misses      15241    15242    +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@clmould clmould left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Happy with current changes, v minor but could you also make a change in summary.py so that here

Image

it is shown as just Helium without the quotes please? Think it'll be on line 5476 in summary.py

@timothy-nunn
timothy-nunn requested a review from clmould July 16, 2026 08:10

@clmould clmould left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

1 tiny thing

Nominal_mean_neutron_load_on_vessel_first-wall_(MW/m^2)__________________ (pflux_fw_neutron_mw)__________ 1.01656659994562149e+00 OP
# First wall pumping #
First_wall_coolant_type__________________________________________________ (i_fw_coolant_type)____________ Helium
First_wall_coolant_type__________________________________________________ (i_fw_coolant_type)____________ 'helium'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
First_wall_coolant_type__________________________________________________ (i_fw_coolant_type)____________ 'helium'
First_wall_coolant_type__________________________________________________ (i_fw_coolant_type)____________ 'Helium'

Comment thread process/core/io/plot/summary.py Outdated
@timothy-nunn
timothy-nunn requested a review from clmould July 16, 2026 14:46

@clmould clmould left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Could you also update in the unit test LT MFILE please

@clmould
clmould merged commit c8e44ca into main Jul 17, 2026
26 of 33 checks passed
@clmould
clmould deleted the 4422-i_fw_coolant_type-value-cant-be-parsed-in-the-mfile branch July 17, 2026 12:54
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.

i_fw_coolant_type value can't be parsed in the MFILE

3 participants