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
52cadd15
Commit
52cadd15
authored
Aug 06, 2021
by
Paul McCarthy
🚵
Browse files
RF: Tweak logic, mostly for unit tests
parent
cd5e1316
Changes
1
Hide whitespace changes
Inline
Side-by-side
fslinstaller.py
View file @
52cadd15
...
@@ -1203,8 +1203,9 @@ def install_miniconda(ctx):
...
@@ -1203,8 +1203,9 @@ def install_miniconda(ctx):
channel_priority: strict #!final
channel_priority: strict #!final
"""
)
"""
)
channels
=
list
(
ctx
.
environment_channels
)
channels
=
list
(
ctx
.
environment_channels
)
channels
[
0
]
+=
' #!top'
if
len
(
channels
)
>
0
:
channels
[
-
1
]
+=
' #!bottom'
channels
[
0
]
+=
' #!top'
channels
[
-
1
]
+=
' #!bottom'
condarc
+=
'
\n
channels: #!final
\n
'
condarc
+=
'
\n
channels: #!final
\n
'
for
channel
in
channels
:
for
channel
in
channels
:
condarc
+=
' - {}
\n
'
.
format
(
channel
)
condarc
+=
' - {}
\n
'
.
format
(
channel
)
...
...
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