Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in new NiBabelModelIO #19

Open
phcerdan opened this issue Mar 22, 2024 · 0 comments
Open

Error in new NiBabelModelIO #19

phcerdan opened this issue Mar 22, 2024 · 0 comments

Comments

@phcerdan
Copy link
Contributor

phcerdan commented Mar 22, 2024

No volume information contained in the file
Traceback (most recent call last):
  File "/path/Software/Slicer/Slicer-5.6.1-linux-amd64/slicer.org/Extensions-32438/SlicerFreeSurfer/lib/Slicer-5.6/qt-scripted-modules/NiBabelModelIO.py", line 169, in readModelNode
    geom = VolGeom.from_surf_footer(metadata)
  File "/path/Software/Slicer/Slicer-5.6.1-linux-amd64/slicer.org/Extensions-32438/SlicerFreeSurfer/lib/Slicer-5.6/qt-scripted-modules/NiBabelModelIO.py", line 70, in from_surf_footer
    shape=footer['volume'],
KeyError: 'volume'
[Qt] "/path/Software/Slicer/Slicer-5.6.1-linux-amd64/slicer.org/Extensions-32438/SlicerFreeSurfer/lib/Slicer-5.6/qt-scripted-modules/NiBabelModelIO.py"  - In "NiBabelModelIOFileReader" class, function 'write'  is expected to return a string boolean !
[Qt] static void qSlicerIOManager::showLoadNodesResultDialog(bool, vtkMRMLMessageCollection*) Errors occurred while loading nodes: "Error: Loading /tmp/lh-filled-outer-surface.pial - Could not load file: /tmp/lh-filled-outer-surface.pial\n"

lh-filled-outer-surface.zip

The file was saved using MRISwrite function in a custom mris. Freeview is able to load the file.
This must be related to changes introduced to solve #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant