Skip to content

Commit

Permalink
missing absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreMary committed Feb 7, 2025
1 parent 84693ff commit e963721
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/davai_env/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import io
import subprocess

__version__ = "1.2.4"
__version__ = "1.2.5"

# fixed parameters
DAVAI_RC_DIR = os.path.join(os.environ['HOME'], '.davairc')
Expand Down
2 changes: 1 addition & 1 deletion src/davai_env/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def all_jobs(self):
"""Get all jobs according to *usecase* (found in config)."""
if not hasattr(self, '_all_jobs'):
jobs_list_file = 'conf/{}.yaml'.format(self.usecase)
with io.open(jobs_list_file, 'r') as fin:
with io.open(os.path.join(self.xp_path, jobs_list_file), 'r') as fin:
self._all_jobs = yaml.load(fin, yaml.Loader)
return self._all_jobs

Expand Down

0 comments on commit e963721

Please sign in to comment.