We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68d2cba commit 725b846Copy full SHA for 725b846
scripts/activateMatlab.py
@@ -53,7 +53,7 @@ def _windows_search(release: str) -> Path | None:
53
return p
54
55
if (r := shutil.which("matlab")) is not None:
56
- if (p := Path(r).parent / "win64").is_dir():
+ if (p := Path(r).resolve().parent / "win64").is_dir():
57
logging.info(f"Using Matlab from PATH: {p}")
58
59
@@ -83,7 +83,7 @@ def _macos_search(release: str) -> Path | None:
83
def _linux_search(release: str) -> Path | None:
84
85
if (r := shutil.which("matlab")) is not None and release in r:
86
- if (p := Path(r).parent / "glnxa64").is_dir():
+ if (p := Path(r).resolve().parent / "glnxa64").is_dir():
87
88
89
0 commit comments