Skip to content

Commit

Permalink
Don't print this_range_lower/this_range_upper for debugging
Browse files Browse the repository at this point in the history
These variables are not always defined, so skip to avoid unhelpful error.
  • Loading branch information
johnomotani committed Aug 22, 2024
1 parent 10ebcf8 commit ef1491d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hypnotoad/core/equilibrium.py
Original file line number Diff line number Diff line change
Expand Up @@ -3187,14 +3187,14 @@ def new_sfunc(i):
spacings["nonorthogonal_range_lower_inner"],
spacings["nonorthogonal_range_lower"],
spacings["nonorthogonal_range_lower_outer"],
this_range_lower,
#this_range_lower,
)
print(
"check upper ranges",
spacings["nonorthogonal_range_upper_inner"],
spacings["nonorthogonal_range_upper"],
spacings["nonorthogonal_range_upper_outer"],
this_range_upper,
#this_range_upper,
)
raise

Expand Down

0 comments on commit ef1491d

Please sign in to comment.