Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
fslpy
Commits
581400f2
Commit
581400f2
authored
Mar 16, 2020
by
Paul McCarthy
🚵
Browse files
RF: Allow .gii surfaces, but don't try to auto-load them
parent
6fefefb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
fsl/data/gifti.py
View file @
581400f2
...
...
@@ -102,8 +102,11 @@ class GiftiMesh(fslmesh.Mesh):
# as the specfiied one.
if
loadAll
:
# Only attempt to auto-load sensibly
# named gifti files (i.e. *.surf.gii,
# rather than *.gii).
surfFiles
=
relatedFiles
(
infile
,
[
ALLOWED_EXTENSIONS
[
0
]])
nvertices
=
vertices
[
0
].
shape
[
0
]
surfFiles
=
relatedFiles
(
infile
,
ALLOWED_EXTENSIONS
)
for
sfile
in
surfFiles
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment