Skip to content

Commit 86810cd

Browse files
committed
comment for z_magnetic_axis
1 parent e65cdb3 commit 86810cd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

torax/_src/output_tools/imas.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def torax_state_to_imas_equilibrium(
7070
eq.profiles_1d.triangularity_upper = geometry.delta_upper_face
7171
eq.profiles_1d.triangularity_lower = geometry.delta_lower_face
7272
eq.profiles_1d.elongation = geometry.elongation_face
73+
# only output z_magnetic_axis if available
7374
try:
7475
eq.global_quantities.magnetic_axis.z = geometry.z_magnetic_axis()
7576
except ValueError as e:

0 commit comments

Comments
 (0)