Skip to content

Commit

Permalink
Rename data dir to data_files
Browse files Browse the repository at this point in the history
  • Loading branch information
vatai committed Feb 3, 2024
1 parent b1bac58 commit 44bafb6
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion radicalpy/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def multiplicity_to_spin(multiplicity: int) -> float:

def get_data(suffix: str = "") -> Traversable:
"""Get the directory containing data files."""
return files(__package__) / "data" / suffix
return files(__package__) / "data_files" / suffix


class Isotope:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion radicalpy/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ def fromjson(json_file: Path) -> SimpleNamespace:
return SimpleNamespace(**{k: Constant(v) for k, v in data.items()})


DATA_DIR = Path(__file__).parent / "data"
DATA_DIR = Path(__file__).parent / "data_files"
constants = Constant.fromjson(DATA_DIR / "constants.json")

0 comments on commit 44bafb6

Please sign in to comment.