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

Commit

Permalink
Fixed central body rotation parameter formatting for input file gener…
Browse files Browse the repository at this point in the history
…ation.
  • Loading branch information
daminton committed Aug 23, 2021
1 parent f82d648 commit 2911845
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions python/swiftest/swiftest/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,12 +758,8 @@ def swiftest_xr2infile(ds, param, framenum=-1):
print(J2, file=cbfile)
print(J4, file=cbfile)
if param['ROTATION'] == 'YES':
print(Ip_xcb, file=cbfile)
print(Ip_ycb, file=cbfile)
print(Ip_zcb, file=cbfile)
print(rot_xcb, file=cbfile)
print(rot_ycb, file=cbfile)
print(rot_zcb, file=cbfile)
print(Ip_xcb, Ip_ycb, Ip_zcb, file=cbfile)
print(rot_xcb, rot_ycb, rot_zcb, file=cbfile)
cbfile.close()

plfile = open(param['PL_IN'], 'w')
Expand Down

0 comments on commit 2911845

Please sign in to comment.