diff --git a/fsl/data/melodicanalysis.py b/fsl/data/melodicanalysis.py
index 6bb63b7000578ea36c084e1ef9eb2e2d0cfaf5ec..8e0f08fd7f27c7ca861a66afec6d5763f18d1e27 100644
--- a/fsl/data/melodicanalysis.py
+++ b/fsl/data/melodicanalysis.py
@@ -125,7 +125,7 @@ def getDataFile(meldir):
     dataFile = op.join(topDir, 'filtered_func_data')
 
     try:                       return fslimage.addExt(dataFile, mustExist=True)
-    except fslimage.PathErrpr: return None
+    except fslimage.PathError: return None
 
 
 def getMeanFile(meldir):