Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed format code I missed
  • Loading branch information
daminton committed Jul 7, 2021
1 parent cce473d commit d9212c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/swiftest/swiftest/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def follow_swift(ds, ifol=None, nskp=None):
peri = fol['peri'].sel(time=t).values
apo = fol['apo'].sel(time=t).values
obar = fol['obar'].sel(time=t).values
print(f"{t.values:15.7e} {a:22.16f} {e:22.16f} {inc:22.16f} {capom:22.16f} {omega:22.16f} {capm:22.16f} {peri:22.16f} {apo:10.4f} {obar:22.16f}", file=f)
print(f"{t.values:15.7e} {a:22.16f} {e:22.16f} {inc:22.16f} {capom:22.16f} {omega:22.16f} {capm:22.16f} {peri:22.16f} {apo:22.16f} {obar:22.16f}", file=f)

except IOError:
print(f"Error writing to follow.out")
Expand Down

0 comments on commit d9212c7

Please sign in to comment.