Skip to content

Commit

Permalink
Moved surf_los.dat in data folder and ran pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosertoli committed Nov 2, 2023
1 parent 16f2c15 commit ef590a6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion indica/readers/ppfreader.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from ..utilities import to_filename


SURF_PATH = Path(surf_los.__file__).parent / "surf_los.dat"
SURF_PATH = Path(surf_los.__file__).parent.parent / "data/surf_los.dat"


class PPFError(Exception):
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/readers/test_surf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import indica.readers.surf_los as surf_los

filepath = Path(surf_los.__file__).parent / "surf_los.dat"
filepath = Path(surf_los.__file__).parent.parent / "data/surf_los.dat"
PIXEL = 0.00099


Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def test_session_context_manager():
assert session.global_session == new_session
assert session.global_session == old_session


def test_dependency_provenance():
session = Session("[email protected]")
dependencies = list(
Expand Down

0 comments on commit ef590a6

Please sign in to comment.