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

Normalise atlas image/summary image paths

parent d7832e51
No related branches found
No related tags found
No related merge requests found
...@@ -492,8 +492,8 @@ class AtlasDescription(object): ...@@ -492,8 +492,8 @@ class AtlasDescription(object):
# Assuming that the path # Assuming that the path
# names begin with a slash # names begin with a slash
imagefile = op.join(atlasDir, '.' + imagefile) imagefile = op.normpath(atlasDir + imagefile)
summaryimagefile = op.join(atlasDir, '.' + summaryimagefile) summaryimagefile = op.normpath(atlasDir + summaryimagefile)
i = fslimage.Image(imagefile, loadData=False, calcRange=False) i = fslimage.Image(imagefile, loadData=False, calcRange=False)
......
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