From f749760fb9362e91cf9beb96a445222d7538ebc1 Mon Sep 17 00:00:00 2001 From: David Minton Date: Fri, 25 Feb 2022 19:15:34 -0500 Subject: [PATCH] Added cb name to the output in a swifter->swiftest conversion --- python/swiftest/swiftest/io.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/swiftest/swiftest/io.py b/python/swiftest/swiftest/io.py index 57e7cc28d..838b46b28 100644 --- a/python/swiftest/swiftest/io.py +++ b/python/swiftest/swiftest/io.py @@ -1446,6 +1446,7 @@ def swifter2swiftest(swifter_param, plname="", tpname="", cbname="", conversion_ # Write out new central body file try: cbnew = open(swiftest_param['CB_IN'], 'w') + print(cbname, file=cbnew) print(GMcb, file=cbnew) print(cbrad, file=cbnew) print(swifter_param['J2'], file=cbnew)