Skip to content

Commit

Permalink
Merge pull request #4601 from neutrinoceros/dedup_units_str_interpola…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
neutrinoceros authored Jul 25, 2023
2 parents a0758c6 + 9720156 commit 90bed5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion yt/frontends/ramses/data_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ def print_stats(self):
except Exception:
pass
print(
"t = {:0.8e} = {:0.8e} s = {:0.8e} years".format(
"t = {:0.8e} = {:0.8e} = {:0.8e}".format(
self.ds.current_time.in_units("code_time"),
self.ds.current_time.in_units("s"),
self.ds.current_time.in_units("yr"),
Expand Down
2 changes: 1 addition & 1 deletion yt/geometry/grid_geometry_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def print_stats(self):
except Exception:
pass
print(
"t = {:0.8e} = {:0.8e} s = {:0.8e} years".format(
"t = {:0.8e} = {:0.8e} = {:0.8e}".format(
self.ds.current_time.in_units("code_time"),
self.ds.current_time.in_units("s"),
self.ds.current_time.in_units("yr"),
Expand Down

0 comments on commit 90bed5c

Please sign in to comment.