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 aa4261b commit 85fb6a4Copy full SHA for 85fb6a4
IDCBrowser/IDCHandlerModule.py
@@ -227,10 +227,10 @@ def registerCustomProtocol(self):
227
228
elif platform.system() == "Darwin":
229
slicer_exec_dir = os.path.dirname(sys.executable)
230
- grandparent_dir = os.path.dirname(os.path.dirname(slicer_exec_dir))
+ parent_dir = os.path.dirname(slicer_exec_dir)
231
232
# Now, you can construct the path to PythonSlicer
233
- python_path = os.path.join(grandparent_dir, "bin", "PythonSlicer")
+ python_path = os.path.join(parent_dir, "bin", "PythonSlicer")
234
235
current_dir = os.path.dirname(os.path.realpath(__file__))
236
python_script_path = os.path.join(current_dir,'Resources', 'resolver.py')
0 commit comments