Skip to content

Commit

Permalink
fix _print_value_fmt for some objectives
Browse files Browse the repository at this point in the history
  • Loading branch information
YigitElma committed Aug 28, 2024
1 parent 301a894 commit c7837ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion desc/objectives/_equilibrium.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ class HelicalForceBalance(_Objective):
_equilibrium = True
_coordinates = "rtz"
_units = "(N)"
_print_value_fmt = "Helical force error: {:10.3e}, "
_print_value_fmt = "Helical force error: "

def __init__(
self,
Expand Down
4 changes: 2 additions & 2 deletions desc/objectives/_power_balance.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class FusionPower(_Objective):

_scalar = True
_units = "(W)"
_print_value_fmt = "Fusion power: {:10.3e} "
_print_value_fmt = "Fusion power: "

def __init__(
self,
Expand Down Expand Up @@ -246,7 +246,7 @@ class HeatingPowerISS04(_Objective):

_scalar = True
_units = "(W)"
_print_value_fmt = "Heating power: {:10.3e} "
_print_value_fmt = "Heating power: "

def __init__(
self,
Expand Down

0 comments on commit c7837ae

Please sign in to comment.