From 1c32959e979c611c5360feed525cb80cf1a331f0 Mon Sep 17 00:00:00 2001 From: Javier Gonzalez Date: Fri, 11 Oct 2024 12:45:55 -0400 Subject: [PATCH] set obsid report dir with a name consistent with proseco --- sparkles/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sparkles/core.py b/sparkles/core.py index 5929858..60c3432 100644 --- a/sparkles/core.py +++ b/sparkles/core.py @@ -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()