Skip to content

Commit ac3693c

Browse files
committed
cases/tokamak: Fix missing f string
String split across lines but the `f` was missing from the second line.
1 parent 38842f3 commit ac3693c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

hypnotoad/cases/tokamak.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,12 +1083,12 @@ def describeDoubleNull(self):
10831083
if not np.isclose(lower_psi, self.psi(*lower_x_point)):
10841084
raise ValueError(
10851085
f"psi-value for lower separatrix {lower_psi} does not match value at "
1086-
"lower X-point {self.psi(*lower_x_point)}"
1086+
f"lower X-point {self.psi(*lower_x_point)}"
10871087
)
10881088
if not np.isclose(upper_psi, self.psi(*upper_x_point)):
10891089
raise ValueError(
10901090
f"psi-value for upper separatrix {upper_psi} does not match value at "
1091-
"upper X-point {self.psi(*upper_x_point)}"
1091+
f"upper X-point {self.psi(*upper_x_point)}"
10921092
)
10931093

10941094
# Find lines along the legs from X-point to target

0 commit comments

Comments
 (0)