Skip to content

Commit 938b399

Browse files
committed
use directory names as the ones used now in the cluster
1 parent e6aae0a commit 938b399

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: src/osa/paths.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,11 @@ def get_dl1_prod_id(config_filename):
429429

430430
picture_thresh = data["tailcuts_clean_with_pedestal_threshold"]["picture_thresh"]
431431
boundary_thresh = data["tailcuts_clean_with_pedestal_threshold"]["boundary_thresh"]
432-
433-
return f"tailcut{picture_thresh}{boundary_thresh}"
432+
433+
if boundary_thresh == 4:
434+
return f"tailcut{picture_thresh}{boundary_thresh}"
435+
else:
436+
return f"tailcut{picture_thresh}{boundary_thresh:02d}"
434437

435438

436439
def get_dl2_nsb_prod_id(rf_model: Path) -> str:

0 commit comments

Comments
 (0)