Skip to content

Create TF supercon strain enum - #4733

Open
chris-ashe wants to merge 8 commits into
mainfrom
add_tf_wp_strain_enum
Open

chris-ashe wants to merge 8 commits into
mainfrom
add_tf_wp_strain_enum

Conversation

@chris-ashe

Copy link
Copy Markdown
Member

… file

Description

Checklist

I confirm that I have completed the following checks:

  • My changes follow the PROCESS style guide
  • I have justified any large differences in the regression tests caused by this pull request in the comments.
  • I have added new tests where appropriate for the changes I have made.
  • If I have had to change any existing unit or integration tests, I have justified this change in the pull request comments.
  • If I have made documentation changes, I have checked they render correctly.
  • I have added documentation for my change, if appropriate.

@codecov-commenter

codecov-commenter commented Nov 6, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 63.63636% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 51.20%. Comparing base (5d135ba) to head (df6ffe0).

Files with missing lines Patch % Lines
process/models/tfcoil/superconducting.py 56.25% 7 Missing ⚠️
process/models/tfcoil/base.py 20.00% 4 Missing ⚠️
process/core/init.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4733      +/-   ##
==========================================
+ Coverage   51.17%   51.20%   +0.03%     
==========================================
  Files         181      181              
  Lines       30426    30433       +7     
==========================================
+ Hits        15571    15584      +13     
+ Misses      14855    14849       -6     

☔ 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.

@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

⚠️ improve_quality_job warning!

Files changed by this PR have introduced 1 more linting errors when compared to main

Please fix these

To check what these are, run hatch run lint:fmt_extra on your branch and on main

@chris-ashe
chris-ashe force-pushed the add_tf_wp_strain_enum branch from 69bc189 to 5738fad Compare November 10, 2026 13:52
@chris-ashe
chris-ashe marked this pull request as ready for review November 10, 2026 13:56
@chris-ashe
chris-ashe requested a review from a team as a code owner November 10, 2026 13:56
@chris-ashe chris-ashe changed the title Move superconductor strain switch to the superconducting tf variables… Create TF supercon strain enum Nov 10, 2026
@timothy-nunn timothy-nunn self-assigned this Nov 10, 2026
"strncon_tf": "strain_tf_superconductor_residual",
"i_strain_wp": "i_strain_tf_superconductor",
"strain_wp_max": "str_wp_max",
"strain_wp": "str_wp",

@je-cook je-cook Nov 11, 2026 •

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.

Does OBS_VARs not need the "str_tf_con_res": "strain_tf_superconductor_residual" too? Also I disagree this name change is better. The previous variables here is equally readable and shorter

@timothy-nunn timothy-nunn assigned je-cook and unassigned timothy-nunn Nov 11, 2026
@je-cook je-cook added this to the Pre-functionalisation PRs milestone Nov 12, 2026
@chris-ashe
chris-ashe force-pushed the add_tf_wp_strain_enum branch from b487d1c to 9c74bdf Compare November 13, 2026 09:47
@chris-ashe
chris-ashe force-pushed the add_tf_wp_strain_enum branch from 9c74bdf to 9eee617 Compare November 13, 2026 11:27
@chris-ashe
chris-ashe force-pushed the add_tf_wp_strain_enum branch from 9eee617 to 889861f Compare November 23, 2026 09:47
@chris-ashe
chris-ashe requested a review from je-cook November 23, 2026 09:55
…logic into a static method and add unit test for strain retrieval
@chris-ashe
chris-ashe force-pushed the add_tf_wp_strain_enum branch from 889861f to df6ffe0 Compare November 24, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants