Skip to content
Snippets Groups Projects
Commit 21f0776e authored by Paul McCarthy's avatar Paul McCarthy
Browse files

Bugfix - FSLeyes was under the assumption that all images starting with

'melodic_IC' were melodic_IC images, which they're
not (e.g. 'melodic_IC_sum')
parent 37cdaf1f
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,8 @@ def isMelodicImage(path): ...@@ -56,7 +56,8 @@ def isMelodicImage(path):
dirname = op.dirname( path) dirname = op.dirname( path)
filename = op.basename(path) filename = op.basename(path)
return filename.startswith('melodic_IC') and isMelodicDir(dirname) return fslimage.removeExt(filename) == 'melodic_IC' and \
isMelodicDir(dirname)
def isMelodicDir(path): def isMelodicDir(path):
......
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