Skip to content

Commit

Permalink
remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
marialainez committed Sep 23, 2024
1 parent e94a15a commit a9ebfdb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/osa/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
import lstchain
from astropy.table import Table
from lstchain.onsite import (find_systematics_correction_file,
find_time_calibration_file,
find_filter_wheels)
find_time_calibration_file)

from osa.configs import options
from osa.configs.config import DEFAULT_CFG, cfg
Expand Down Expand Up @@ -150,7 +149,7 @@ def get_catB_calibration_filename(run_id: int) -> Path:
date = utils.date_to_dir(options.date)
calib_prod_id = utils.get_lstchain_version()
catB_calib_dir = Path(cfg.get("LST1", "CAT_B_CALIB_BASE")) / date / calib_prod_id
filters = utils.get_calib_filters(int(run_str))
filters = utils.get_calib_filters(run_id)
return catB_calib_dir / f"cat_B_calibration_filters_{filters}.Run{run_id:05d}.h5"


Expand Down
2 changes: 1 addition & 1 deletion src/osa/scripts/datasequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from osa.job import historylevel
from osa.workflow.stages import AnalysisStage
from osa.provenance.capture import trace
from osa.paths import get_major_version, get_catB_calibration_filename
from osa.paths import get_catB_calibration_filename
from osa.utils.cliopts import data_sequence_cli_parsing
from osa.utils.logging import myLogger
from osa.utils.utils import date_to_dir, get_calib_filters
Expand Down

0 comments on commit a9ebfdb

Please sign in to comment.