Skip to content

Commit 259c589

Browse files
committed
Change calibration directory names following the cfg
1 parent 260db3e commit 259c589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/osa/paths.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def get_datacheck_files(pattern: str, directory: Path) -> list:
263263
def datacheck_directory(data_type: str, date: str) -> Path:
264264
"""Returns the path to the datacheck directory given the data type."""
265265
if data_type in {"PEDESTAL", "CALIB"}:
266-
directory = Path(cfg.get("LST1", f"{data_type}_DIR")) / date / "pro/log"
266+
directory = Path(cfg.get("LST1", f"CAT_A_{data_type}_DIR")) / date / "pro/log"
267267
elif data_type == "DL1AB":
268268
directory = Path(cfg.get("LST1", f"{data_type}_DIR")) / date / options.prod_id
269269
elif data_type == "LONGTERM":

0 commit comments

Comments
 (0)