Skip to content

Commit

Permalink
fix outpaths
Browse files Browse the repository at this point in the history
  • Loading branch information
jrob93 committed May 22, 2024
1 parent 15628ab commit 87a1458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/adler/adler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 87a1458

Please sign in to comment.