Skip to content
Snippets Groups Projects
Commit d423d2e9 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Add back .gii as a valid gifti surface extension, because wx doesn't support

double-barrelled file extensions.
parent 15618c55
No related branches found
No related tags found
No related merge requests found
...@@ -35,14 +35,16 @@ import fsl.data.constants as constants ...@@ -35,14 +35,16 @@ import fsl.data.constants as constants
import fsl.data.mesh as fslmesh import fsl.data.mesh as fslmesh
# We include .gii here because lots of things
ALLOWED_EXTENSIONS = ['.surf.gii'] # 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 """List of file extensions that a file containing Gifti surface data
is expected to have. 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`. """ """A description for each of the :data:`ALLOWED_EXTENSIONS`. """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment