Skip to content

Commit

Permalink
Merge pull request #225 from jennydaman/patch-1
Browse files Browse the repository at this point in the history
BUG: Remove spare `f` in an f-string
  • Loading branch information
jhlegarreta committed Jan 4, 2024
2 parents d08245e + bcf6ba9 commit b73d073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/wm_harden_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def command_harden_transform(polydata, transform, inverse, slicer_path, outdir):
str_inverse = 0

print(f"<{os.path.basename(__file__)}> Transforming: {polydata}")
cmd = f"{slicer_path} --no-main-window --python-script $(which harden_transform_with_slicer.py) {polydata} {transform} {str(str_inverse)} {outdir} --python-code 'slicer.app.quit()' >> f{os.path.join(outdir, 'log.txt 2>&1')}"
cmd = f"{slicer_path} --no-main-window --python-script $(which harden_transform_with_slicer.py) {polydata} {transform} {str(str_inverse)} {outdir} --python-code 'slicer.app.quit()' >> {os.path.join(outdir, 'log.txt 2>&1')}"

os.system(cmd)

Expand Down

0 comments on commit b73d073

Please sign in to comment.