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
f86fe01c
Commit
f86fe01c
authored
Jan 29, 2018
by
Paul McCarthy
🚵
Browse files
Merge branch 'master' into 'master'
Auto install links to scripts See merge request fsl/fslpy!42
parents
294c324a
a3d9749e
Pipeline
#1586
canceled with stages
in 11 minutes and 56 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.conda/post-link.sh
0 → 100755
View file @
f86fe01c
if
[
-z
${
FSLDIR
}
]
;
then
exit
;
fi
if
[
!
-d
${
FSLDIR
}
/bin
]
;
then
exit
;
fi
scripts
=
"atlasquery atlasq imcp immv imglob"
for
script
in
$scripts
;
do
if
[
-f
${
FSLDIR
}
/bin/
${
script
}
]
;
then
rm
${
FSLDIR
}
/bin/
${
script
}
;
fi
ln
-s
${
PREFIX
}
/bin/
${
script
}
${
FSLDIR
}
/bin/
${
script
}
done
.conda/pre-unlink.sh
0 → 100755
View file @
f86fe01c
if
[
-z
${
FSLDIR
}
]
;
then
exit
;
fi
scripts
=
"atlasquery atlasq imcp immv imglob"
for
script
in
$scripts
;
do
if
[
-f
${
FSLDIR
}
/bin/
${
script
}
]
;
then
rm
${
FSLDIR
}
/bin/
${
script
}
;
fi
done
fsl/scripts/atlasq.py
View file @
f86fe01c
...
...
@@ -737,6 +737,15 @@ def main(args=None):
return
0
def
atlasquery_emulation
(
args
=
None
):
"""Entry point for ``atlasquery``. Runs as ``atlasq`` in ``ohi``
mode.
"""
if
args
is
None
:
args
=
sys
.
argv
[
1
:]
return
main
([
'ohi'
]
+
args
)
if
__name__
==
'__main__'
:
sys
.
exit
(
main
())
setup.py
View file @
f86fe01c
...
...
@@ -127,7 +127,8 @@ setup(
'immv = fsl.scripts.immv:main'
,
'imcp = fsl.scripts.imcp:main'
,
'imglob = fsl.scripts.imglob:main'
,
'atlasq = fsl.scripts.atlasq:main'
,
'atlasq = fsl.scripts.atlasq:main'
,
'atlasquery = fsl.scripts.atlasq:atlasquery_emulation'
,
]
}
)
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