Skip to content

Commit

Permalink
Merge pull request #119 from SlicerDMRI/fix-harden-tracts
Browse files Browse the repository at this point in the history
BUG: fix transform hardening for Slicer
  • Loading branch information
pieper committed Jul 2, 2023
2 parents 9850ab1 + 0c2d410 commit 6d93b64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/harden_transform_with_slicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def harden_transform(polydata, transform, inverse, outdir):
if os.path.exists(output_name):
return

check_load, polydata_node = slicer.util.loadModel(str(polydata), 1)
check_load, polydata_node = slicer.util.loadFiberBundle(str(polydata), 1)
if not check_load:
print('Could not load polydata file:', polydata)
return
Expand Down

0 comments on commit 6d93b64

Please sign in to comment.