From 87a1458f28db3c1b3d3919e4a34da16491fe5b8f Mon Sep 17 00:00:00 2001 From: jrob93 Date: Wed, 22 May 2024 13:41:26 +0100 Subject: [PATCH] fix outpaths --- src/adler/adler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/adler/adler.py b/src/adler/adler.py index c29514e..6e7332d 100644 --- a/src/adler/adler.py +++ b/src/adler/adler.py @@ -68,7 +68,7 @@ def runAdler(cli_args): print(len(df_obs)) # load and merge the previous obs - save_file = "data/df_outlier_{}.csv".format(cli_args.ssObjectId) + save_file = "{}/df_outlier_{}.csv".format(cli_args.outpath, cli_args.ssObjectId) if os.path.isfile(save_file): print("load {}".format(save_file)) _df_obs = pd.read_csv(save_file, index_col=0) @@ -152,7 +152,7 @@ def runAdler(cli_args): s=75, zorder=3, ) - fig_file = "plots/phase_curve_{}_{}.png".format(cli_args.ssObjectId, int(t0)) + fig_file = "{}/plots/phase_curve_{}_{}.png".format(cli_args.outpath, cli_args.ssObjectId, int(t0)) print(fig_file) fig = plot_errorbar(planetoid, fig=fig, filename=fig_file)