diff --git a/fsl/data/gifti.py b/fsl/data/gifti.py index d957d75c18e2898693fd95161c16c10c2bfc484e..b0b018c20e5c1955597fb75f6c740fc796ba861e 100644 --- a/fsl/data/gifti.py +++ b/fsl/data/gifti.py @@ -34,13 +34,15 @@ import fsl.data.constants as constants import fsl.data.mesh as fslmesh -ALLOWED_EXTENSIONS = ['.surf.gii'] +# We include '.gii' here because not all surface +# GIFTIs follow the file suffix convention. +ALLOWED_EXTENSIONS = ['.surf.gii', '.gii'] """List of file extensions that a file containing Gifti surface data is expected to have. """ -EXTENSION_DESCRIPTIONS = ['GIFTI surface file'] +EXTENSION_DESCRIPTIONS = ['GIFTI surface file', 'GIFTI file'] """A description for each of the :data:`ALLOWED_EXTENSIONS`. """