Hello,
I just tried the new module for automatirc resection identification. but it seems to be failing:
BST> Emptying temporary directory...
RESEC_ID> pre-op MRI: sub-pat01/subjectimage_sub-pat01_ses-preop_res-cmp_T1w.mat
RESEC_ID> post-op MRI: sub-pat01/subjectimage_sub-pat01_ses-postop_space-individual_desc-brain_T1w_spm.mat
BST> Adding plugin resection-identification to path: /NAS/home/edelaire/.brainstorm/plugins/resection-identification/bin
RESEC_ID > System call: "/NAS/home/edelaire/.brainstorm/plugins/resection-identification/bin/resection_identification" "/home/edelaire/.brainstorm/tmp/resection_identification_260427_143812/preop.nii" "/home/edelaire/.brainstorm/tmp/resection_identification_260427_143812/postop.nii" "/home/edelaire/.brainstorm/tmp/resection_identification_260427_143812"
Using existing temp directory: /home/edelaire/.brainstorm/tmp/resection_identification_260427_143812
Write permission confirmed for: /home/edelaire/.brainstorm/tmp/resection_identification_260427_143812
PyInstaller will extract to: /home/edelaire/.brainstorm/tmp/resection_identification_260427_143812/_MEIxxxxxx
Starting resection identification analysis...
Traceback (most recent call last):
File "numpy/_core/__init__.py", line 23, in <module>
File "pyimod02_importers.py", line 457, in exec_module
File "numpy/_core/multiarray.py", line 10, in <module>
File "pyimod02_importers.py", line 457, in exec_module
File "numpy/_core/overrides.py", line 7, in <module>
ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/edelaire/.brainstorm/tmp/resection_identification_260427_143812/_MEI0vQxDs/libstdc++.so.6)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "numpy/__init__.py", line 114, in <module>
File "pyimod02_importers.py", line 457, in exec_module
File "numpy/__config__.py", line 4, in <module>
File "pyimod02_importers.py", line 457, in exec_module
File "numpy/_core/__init__.py", line 49, in <module>
ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.
We have compiled some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:
* The Python version is: Python3.10 from "/NAS/home/edelaire/.brainstorm/plugins/resection-identification/bin/resection_identification_core"
* The NumPy version is: "2.2.6"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/edelaire/.brainstorm/tmp/resection_identification_260427_143812/_MEI0vQxDs/libstdc++.so.6)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "pyi_rth_matplotlib_headless.py", line 3, in <module>
File "pyimod02_importers.py", line 457, in exec_module
File "matplotlib/__init__.py", line 161, in <module>
File "pyimod02_importers.py", line 457, in exec_module
File "matplotlib/cbook.py", line 24, in <module>
File "pyimod02_importers.py", line 457, in exec_module
File "numpy/__init__.py", line 119, in <module>
ImportError: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there.
[PYI-3964483:ERROR] Failed to execute script 'pyi_rth_matplotlib_headless' due to unhandled exception!
