Skip to content

Commit 95c103c

Browse files
committed
pathing reference fix
1 parent 0bdfe71 commit 95c103c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ulc_mm_package/QtGUI/study_metadata_form.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def list_available_studies() -> Dict[str, dict]:
205205
-------
206206
A dictionary mapping the study name (as defined in its toml file) to its parsed dictionary.
207207
"""
208-
study_config_dir = Path("../study_configurations/")
208+
study_config_dir = Path(__file__).resolve().parent.parent / "study_configurations"
209209
possible_studies = list(study_config_dir.parent.rglob("*.toml"))
210210
valid_studies = [x for x in possible_studies if x.stem[0] != "_"]
211211

0 commit comments

Comments
 (0)