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
e438bacc
Commit
e438bacc
authored
Oct 11, 2021
by
Paul McCarthy
🚵
Browse files
MNT: Typo in log message and comments
parent
993e932a
Changes
1
Hide whitespace changes
Inline
Side-by-side
fslinstaller.py
View file @
e438bacc
...
@@ -475,7 +475,7 @@ class Context(object):
...
@@ -475,7 +475,7 @@ class Context(object):
@
staticmethod
@
staticmethod
def
download_manifest
(
url
,
workdir
=
None
):
def
download_manifest
(
url
,
workdir
=
None
):
"""Downloads the installer manifest file, which contains information
"""Downloads the installer manifest file, which contains information
about available FSL ve
s
rions, and the most recent version number of the
about available FSL ver
s
ions, and the most recent version number of the
installer (this script).
installer (this script).
The manifest file is a JSON file. Lines beginning
The manifest file is a JSON file. Lines beginning
...
@@ -1123,7 +1123,7 @@ def download_fsl_environment(ctx):
...
@@ -1123,7 +1123,7 @@ def download_fsl_environment(ctx):
# The fsl-base version is installed before any other
# The fsl-base version is installed before any other
# packages, as other FSL packages require it to be
# packages, as other FSL packages require it to be
# present in order to install successfully. So we
# present in order to install successfully. So we
# also extract the fsl-base ve
s
rion number from
# also extract the fsl-base ver
s
ion number from
# the environment file, and store it in the context.
# the environment file, and store it in the context.
channels
=
[]
channels
=
[]
basever
=
None
basever
=
None
...
@@ -1472,7 +1472,7 @@ def self_update(manifest, workdir, checksum):
...
@@ -1472,7 +1472,7 @@ def self_update(manifest, workdir, checksum):
latestver
=
Version
(
manifest
[
'installer'
][
'version'
])
latestver
=
Version
(
manifest
[
'installer'
][
'version'
])
if
latestver
<=
thisver
:
if
latestver
<=
thisver
:
log
.
debug
(
'Installer is up to date (this ve
s
rion: %s, '
log
.
debug
(
'Installer is up to date (this ver
s
ion: %s, '
'latest version: %s)'
,
thisver
,
latestver
)
'latest version: %s)'
,
thisver
,
latestver
)
return
return
...
...
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