Add sol outboard enum - #4514
Conversation
…ntegrate power decay length logic in ScrapeOffLayer model
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4514 +/- ##
==========================================
+ Coverage 49.13% 49.31% +0.18%
==========================================
Files 152 150 -2
Lines 29806 29804 -2
==========================================
+ Hits 14644 14697 +53
+ Misses 15162 15107 -55 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| self.data.physics.len_plasma_sol_mast14_power_decay_2 | ||
| ) | ||
|
|
||
| self.data.physics.a_plasma_outboard_sol_parallel = self.calculate_upstream_sol_outboard_parallel_area( # noqa: E501 |
There was a problem hiding this comment.
You can use parentheses to put the function call on the next line and remove the need to use noqa statement
| b_plasma_surface_poloidal_average=self.data.physics.b_plasma_surface_poloidal_average, | ||
| ) | ||
|
|
||
| self.data.physics.a_plasma_outboard_sol_eich13_parallel = self.calculate_upstream_sol_outboard_parallel_area( # noqa: E501 |
There was a problem hiding this comment.
Can we do this here too
| ) | ||
| po.ocmmnt( | ||
| self.outfile, | ||
| f"-> {OutbordSOLPowerDecayLengthModel(self.data.physics.i_len_sol_outboard_power_decay).description} ", # noqa: E501 |
There was a problem hiding this comment.
Again, not a fan of skipping line length checks because it could be avoided here
| EICH_2013 = (0, "Eich 2013") | ||
| MAST_2014_1 = (1, "MAST 2014-1") | ||
| MAST_2014_2 = (2, "MAST 2014-2") |
There was a problem hiding this comment.
Are the actual models referenced in the docs? If not, can we add a docstring here that does so.
There was a problem hiding this comment.
…ayer logic for user input handling
Description
Checklist
I confirm that I have completed the following checks: