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
9e508fa0
Commit
9e508fa0
authored
Jun 24, 2019
by
Paul McCarthy
🚵
Browse files
BF: GiftiMesh was passing a list of vertex arrays to addVertices - need to
pass one at a time
parent
72083d54
Changes
1
Hide whitespace changes
Inline
Side-by-side
fsl/data/gifti.py
View file @
9e508fa0
...
...
@@ -138,7 +138,10 @@ class GiftiMesh(fslmesh.Mesh):
surfimg
,
_
,
vertices
,
_
=
loadGiftiMesh
(
infile
)
vertices
=
self
.
addVertices
(
vertices
,
key
,
*
args
,
**
kwargs
)
for
i
,
v
in
enumerate
(
vertices
):
if
i
==
0
:
key
=
infile
else
:
key
=
'{}_{}'
.
format
(
infile
,
i
)
vertices
[
i
]
=
self
.
addVertices
(
v
,
key
,
*
args
,
**
kwargs
)
self
.
setMeta
(
infile
,
surfimg
)
...
...
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