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
funpack
Commits
a2611afc
Commit
a2611afc
authored
Jan 04, 2022
by
Paul McCarthy
🚵
Browse files
TEST: funpack is the module name here, not the entrypoint
parent
d3b24582
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
funpack/tests/test_demo.py
View file @
a2611afc
...
@@ -155,7 +155,7 @@ def gen_demo_tests(outdir=None, rundir=None):
...
@@ -155,7 +155,7 @@ def gen_demo_tests(outdir=None, rundir=None):
for
line
in
source
:
for
line
in
source
:
# The demo uses an alias funpack='fmrib_unpack -q -ow'
# The demo uses an alias funpack='fmrib_unpack -q -ow'
if
line
.
startswith
(
'funpack '
):
if
line
.
startswith
(
'funpack '
):
line
=
line
.
replace
(
'funpack '
,
'f
mrib_
unpack -q -ow '
)
line
=
line
.
replace
(
'funpack '
,
'funpack -q -ow '
)
line
=
'{} -m '
.
format
(
sys
.
executable
)
+
line
line
=
'{} -m '
.
format
(
sys
.
executable
)
+
line
f
.
write
(
line
)
f
.
write
(
line
)
with
open
(
op
.
join
(
outdir
,
out_file
),
'wt'
)
as
f
:
with
open
(
op
.
join
(
outdir
,
out_file
),
'wt'
)
as
f
:
...
...
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