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

isFEATDir function wws accidentally callign op.splitext instead of

op.split.
parent 4168bf23
No related branches found
No related tags found
No related merge requests found
......@@ -26,10 +26,11 @@ def isFEATDir(path):
if op.isfile(path):
dirname, filename = op.splitext(path)
dirname, filename = op.split(path)
if not filename.startswith('filtered_func_data'):
return False
if filename.startswith('filtered_func_data'):
return True
return False
dirname = path
keys = ['.feat',
......
......@@ -285,7 +285,7 @@ def loadOverlays(paths, loadFunc='default', errorFunc='default'):
strings.messages['overlay.loadOverlays.unknownType'])
continue
log.debug('Loading overlay {} (guessed data type: {}'.format(
log.debug('Loading overlay {} (guessed data type: {})'.format(
path, dtype.__name__))
try: overlays.append(dtype(path))
except Exception as e: errorFunc(path, e)
......
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