Skip to content

Commit

Permalink
Merge pull request #213 from sot/obsid_dir
Browse files Browse the repository at this point in the history
set obsid report dir with a name consistent with proseco
  • Loading branch information
javierggt authored Oct 23, 2024
2 parents 68b10f1 + 1c32959 commit d810e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sparkles/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def _run_aca_review(
# Note that the obs{aca.obsid} is not flexible because it must match the
# convention used in ACATable.make_report(). Oops.
aca.preview_dir = Path(report_dir)
aca.obsid_dir = aca.preview_dir / f"obs{aca.obsid}"
aca.obsid_dir = aca.preview_dir / f"obs{aca.obsid:05}"
aca.obsid_dir.mkdir(parents=True, exist_ok=True)

aca.make_starcat_plot()
Expand Down

0 comments on commit d810e3e

Please sign in to comment.