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
installer
Commits
81a806a3
Commit
81a806a3
authored
Oct 19, 2021
by
Paul McCarthy
🚵
Browse files
BF: No use f-strings
parent
02d816ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
fslinstaller.py
View file @
81a806a3
...
...
@@ -1286,7 +1286,7 @@ def install_fsl(ctx):
commands
=
[]
if
ctx
.
fsl_base_packages
is
not
None
and
len
(
ctx
.
fsl_base_packages
)
>
0
:
basepkgs
=
ctx
.
fsl_base_packages
basepkgs
=
[
f
'
{
pkg
}
=
{
ver
}
'
for
pkg
,
ver
in
basepkgs
.
items
()]
basepkgs
=
[
'{}={
}'
.
format
(
pkg
,
ver
)
for
pkg
,
ver
in
basepkgs
.
items
()]
basepkgs
=
' '
.
join
(
basepkgs
)
commands
.
append
(
conda
+
' install -y -n base '
+
basepkgs
)
commands
.
append
(
conda
+
' env update -n base -f '
+
ctx
.
environment_file
)
...
...
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