Repository navigation
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4652 +/- ##
==========================================
- Coverage 49.97% 46.04% -3.94%
==========================================
Files 151 151
Lines 30270 35693 +5423
==========================================
+ Hits 15128 16434 +1306
- Misses 15142 19259 +4117 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
chris-ashe
left a comment
There was a problem hiding this comment.
Is there anyway to do this without ripping up the CS methods and putting them into build.py?
|
@chris-ashe I do not think so. I think other parts of that CS geometry calculation need variables that are calculated in the PF/CS model. To keep the geometry calculations all together could mean a large restructuring that is probably not worth it. |
chris-ashe
left a comment
There was a problem hiding this comment.
There is still some calcs in the pfcoil file that are also now in the build file, is this intentional?
@chris-ashe I don't think so, can you point out which variables for me? |
I can still see |
|
@chris-ashe I've had a look and because of the weird ordering of operations with the CS geometry I cannot cleanly have these calculations only occur in one place. It would need to occur during a much larger restructuring of the PF and CS coils. |
|
@chris-ashe given this are you happy to approve this so a maintainer can check and hopefully get this bug fixed |
Calculates the CS area variables at the end of the
Buildmodel. This is the point where all of their dependencies have been calculated but they have not yet been used.I have checked and the error no longer occurs and #4617 does not flag any variable
calculate_cs_areaas being edited after being used.