diff --git a/py/desispec/exposure_qa.py b/py/desispec/exposure_qa.py index f3c5d66d1..13c661850 100644 --- a/py/desispec/exposure_qa.py +++ b/py/desispec/exposure_qa.py @@ -26,7 +26,7 @@ def get_qa_params() : """ global _qa_params if _qa_params is None : - param_filename = resources('desispec').joinpath('data/qa/qa-params.yaml') + param_filename = resources.files('desispec').joinpath('data/qa/qa-params.yaml') with open(param_filename) as f: _qa_params = yaml.safe_load(f) return _qa_params