Skip to content

Commit

Permalink
Fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecThomson committed May 3, 2024
1 parent 1d48a38 commit c0605a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_fix_ms_corrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def get_packaged_resource_path(package: str, filename: str) -> Path:
"""
logger.info(f"Loading {package=} for {filename=}")

with importlib_resources.files(package) as p:
with importlib_resources.path(package) as p:
full_path = Path(p) / filename

logger.debug(f"Resolved {full_path=}")
Expand Down

0 comments on commit c0605a3

Please sign in to comment.