Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
fslpy
Commits
0ea2927f
Commit
0ea2927f
authored
Feb 02, 2018
by
Paul McCarthy
🚵
Browse files
Bugfix to imcp - if dest is just a file name with no prefix, cannot get its
dirname. Make it abs
parent
254d9464
Changes
1
Hide whitespace changes
Inline
Side-by-side
fsl/utils/imcp.py
View file @
0ea2927f
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment