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

Bugfix to imcp - if dest is just a file name with no prefix, cannot get its

dirname. Make it abs
parent 96cb219b
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,9 @@ def imcp(src,
if op.isdir(dest):
dest = op.join(dest, op.basename(src))
src = op.abspath(src)
dest = op.abspath(dest)
srcBase, srcExt = fslimage.splitExt(src)
destBase, destExt = fslimage.splitExt(dest)
......
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