Remove unnecessary radius calculation in TFCoil class#4090
Conversation
|
@mkovari you asked on the issue to be listed as a reviewer |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4090 +/- ##
=======================================
Coverage 47.18% 47.19%
=======================================
Files 138 138
Lines 29280 29275 -5
=======================================
Hits 13817 13817
+ Misses 15463 15458 -5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ym1906
left a comment
There was a problem hiding this comment.
This is unnecessary and can be removed. As @timothy-nunn pointed out, the output has to be removed too.
08efbb3 to
5ebede1
Compare
|
Thanks @ym1906 for the review. I've removed the warning from the output and put it in the logger. Can you confirm that you're happy with this solution and, if so, approve it for me. Cheers, |
|
And are the dimensions consistent? |
@mkovari removing this calculation stops the warning message from being displayed, so yes we believe they are consistent. |
|
Are you saying that having removed the error checking you now don't see the error message? |
Description
This is a legacy issue and should be solved by #3748 . There was error checking in the output (should not be there...) that was missed in #3748 and so the$\cos\left(\frac{\pi}{N_{TF}}\right)$ has now been removed
Checklist
I confirm that I have completed the following checks: