Skip to content

Commit

Permalink
add MODULE_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
naik-aakash committed Jan 9, 2025
1 parent 58e6b2a commit b918db8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/autoplex/fitting/common/jobs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""General fitting jobs using several MLIPs available."""

import os
from pathlib import Path

from jobflow import job
Expand All @@ -13,8 +14,8 @@
nequip_fitting,
)

current_dir = Path(__file__).absolute().parent
GAP_DEFAULTS_FILE_PATH = current_dir / "mlip-phonon-defaults.json"
MODULE_DIR = Path(os.path.dirname(__file__))
GAP_DEFAULTS_FILE_PATH = MODULE_DIR / "mlip-phonon-defaults.json"


@job
Expand Down

0 comments on commit b918db8

Please sign in to comment.