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
conda
manifest-rules
Commits
f23b8d24
Commit
f23b8d24
authored
Aug 12, 2021
by
Paul McCarthy
🚵
Browse files
RF: Installation is now performed in two steps - fsl-base first, then
everything else
parent
4296d36a
Changes
2
Hide whitespace changes
Inline
Side-by-side
manifest_rules/__init__.py
View file @
f23b8d24
#!/usr/bin/env python
__version__
=
'0.
3.12
'
__version__
=
'0.
4.0
'
manifest_rules/test_environment.py
View file @
f23b8d24
...
...
@@ -75,10 +75,23 @@ def full_test(envfile, release_info):
preprocess_environment
(
envfile
,
'fsl'
,
True
)
basever
=
None
with
open
(
envfile
,
'rt'
)
as
f
:
for
line
in
f
:
if
line
.
strip
().
startswith
(
'- fsl-base'
):
basever
=
line
.
strip
().
split
()[
2
]
break
env
=
os
.
environ
.
copy
()
env
[
'CONDARC'
]
=
op
.
abspath
(
op
.
join
(
'fsl'
,
'condarc'
))
env_out
=
sprun
(
f
'./fsl/bin/conda env update -n base -f
{
envfile
}
'
,
if
basever
is
None
:
env_out
=
''
else
:
env_out
=
sprun
(
f
'./fsl/bin/conda install -y '
'-n base fsl-base={basever}'
)
env_out
+=
sprun
(
f
'./fsl/bin/conda env update -n base -f
{
envfile
}
'
,
env
=
env
)
return
install_out
,
env_out
...
...
Write
Preview
Markdown
is supported
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