diff --git a/fsl/data/gifti.py b/fsl/data/gifti.py index 0e2807630c6f616196861cc5b0a856ca112c9c18..9bba0368b163f3f009669c3ffa5c3acbc9472f57 100644 --- a/fsl/data/gifti.py +++ b/fsl/data/gifti.py @@ -35,14 +35,16 @@ import fsl.data.constants as constants import fsl.data.mesh as fslmesh - -ALLOWED_EXTENSIONS = ['.surf.gii'] +# We include .gii here because lots of things +# don't understand double-barrelled file +# extensions (e.g. the wxPython open file dialog). +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 surface file'] """A description for each of the :data:`ALLOWED_EXTENSIONS`. """