diff --git a/fsl/data/gifti.py b/fsl/data/gifti.py index 7f1cd7f1244fce78223d8132b60bddd4fdfb0d26..bd00e0a920b569f77b630644ed6824a9de231d89 100644 --- a/fsl/data/gifti.py +++ b/fsl/data/gifti.py @@ -189,7 +189,7 @@ def loadGiftiVertexData(filename): # DataArray goes against the GIFTI spec, # but hey, it happens. if len(gimg.darrays) == 1: - return gimg.darrays[0].data + return gimg, gimg.darrays[0].data # Otherwise extract and concatenate # multiple 1-dimensional arrays