-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
The function columnflow.calibration.cms.jets.get_jerc_file_default returns str:
columnflow/columnflow/calibration/cms/jets.py
Line 118 in 6e40750
| def get_jerc_file_default(self: Calibrator, external_files: DotDict) -> str: |
This function is the default for jec.get_jec_file and jer.get_jer_file.
Further down the code, .load() is called on the result of the get_*_file functions, e.g. for jec:
columnflow/columnflow/calibration/cms/jets.py
Line 580 in 6e40750
| self.get_jec_file(bundle.files).load(formatter="gzip").decode("utf-8"), |
In my recent experience the type hint was right, meaning the defaults do not work 🤔
Metadata
Metadata
Assignees
Labels
No labels