Skip to content

Commit 99a5851

Browse files
committed
Fix f-string
1 parent 6f0d056 commit 99a5851

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

easybuild/easyblocks/m/molpro.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def test_step(self):
177177

178178
if build_option('mpi_tests'):
179179
# extensive test
180-
run_shell_cmd(f"make MOLPRO_OPTIONS='-n{self.cfg.parallel}")
180+
run_shell_cmd(f"make MOLPRO_OPTIONS='-n{self.cfg.parallel}' test")
181181
else:
182182
self.log.info("Skipping extensive testing of Molpro since MPI testing is disabled")
183183

easybuild/easyblocks/o/openblas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def build_step(self):
105105
del os.environ[cflags]
106106
self.log.info("Environment variable %s unset and passed through command line" % cflags)
107107

108-
makecmd = 'make {self.parallel_flag}'
108+
makecmd = f'make {self.parallel_flag}'
109109

110110
cmd = ' '.join([self.cfg['prebuildopts'], makecmd, ' '.join(build_parts), self.cfg['buildopts']])
111111
run_shell_cmd(cmd)

easybuild/easyblocks/r/rosetta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def build_step(self):
182182
os.chdir(self.srcdir)
183183
except OSError as err:
184184
raise EasyBuildError("Failed to change to %s: %s", self.srcdir, err)
185-
par = "-j {self.cfg.parallel}" if self.cfg.parallel > 1 else ""
185+
par = f"-j {self.cfg.parallel}" if self.cfg.parallel > 1 else ""
186186
cmd = "python ./scons.py %s %s bin" % (self.cfg['buildopts'], par)
187187
run_shell_cmd(cmd)
188188

0 commit comments

Comments
 (0)