Commit 81a806a3 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

BF: No use f-strings

parent 02d816ff
...@@ -1286,7 +1286,7 @@ def install_fsl(ctx): ...@@ -1286,7 +1286,7 @@ def install_fsl(ctx):
commands = [] commands = []
if ctx.fsl_base_packages is not None and len(ctx.fsl_base_packages) > 0: if ctx.fsl_base_packages is not None and len(ctx.fsl_base_packages) > 0:
basepkgs = ctx.fsl_base_packages 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) basepkgs = ' '.join(basepkgs)
commands.append(conda + ' install -y -n base ' + basepkgs) commands.append(conda + ' install -y -n base ' + basepkgs)
commands.append(conda + ' env update -n base -f ' + ctx.environment_file) commands.append(conda + ' env update -n base -f ' + ctx.environment_file)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment