Hi all, I’m using Slicermorph for GM analyses. The GPA runs fine using all landmarks, but when trying to exclude one landmark e.g. 12, from analysis nothing happens. Python console shows me this error:
AttributeError: ‘int’ object has no attribute ‘shape’
Thanks in advance,
I have not been able to replicate this behavior, can you let me know what version of Slicer you are using and if you have the most recent version of SlicerMorph?
If both are up to date, are you able to share some data I can use to generate this error?
The error you are seeing is different, but may be related to: GPA - Exclude LM error · Issue #276 · SlicerMorph/SlicerMorph · GitHub
I’ve updated our repo and the fix should be available from the Slicer Extensions Manager tomorrow. Please let us know if this corrects your issue.
Hi Sara, thank you. Now works just fine!