Skip to content

Commit

Permalink
rename input_dir as analysis_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
marialainez committed Feb 10, 2025
1 parent 5a53596 commit 64c74dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/osa/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ def get_mc_nsb_dir(run_id: int, rf_models_dir: Path) -> Path:
Return the path of the RF models directory with the NSB level
closest to that of the data for a given run.
"""
input_dir = Path(options.directory)
_, additional_nsb, _ = find_tailcuts(input_dir, run_id)
analysis_dir = options.directory
_, additional_nsb, _ = find_tailcuts(analysis_dir, run_id)

rf_models_prefix = cfg.get("lstchain", "mc_prod")
nsb_dict = get_nsb_dict(rf_models_dir, rf_models_prefix)
Expand Down

0 comments on commit 64c74dc

Please sign in to comment.