GPA module not executing

Operating system: Mac OS
Slicer version: 5.6.0
Expected behavior: Trying to execute GPA+PCA
Actual behavior: wont run!

Hi! I have used ALPACA to get landmarks for 9 species and I selected these files in the GPA module as mark.json files. I selected my output folder. However when I hit execute nothing is happening, any thoughts?

Please open the log file (CTRL/CMD + 0), and copy and paste the full log file.

Also you are using an older version of the SLicer. Please install the current stable (5.6.1) and retry.

Hello,
I encountered similar issues whilst using .mrk.json files but resolved the issues after changing format (saving new files as fcsv)
Isn’t supposed to work with both file formats though ?
Thanks and having a great time with slicermorph thus far !

I am having this issue as well. I’m using a newer version of Slicer and have about 38 landmarks saved as .json files. When I click execute, nothing happens.
I’m wondering - do I need to have two sets of landmarks (from the shapes I am comparing) from the get-go? Or can I set one as the ‘standard’ somehow and compare the rest of my samples to this one?

Can you provide the log file? You can get to it by hitting ctrl+0

No, you don’t need to set of landmark. You just need all the samples to have exactly the same number of landmarks as others. Please provide the log file, without that we can’t know why this is not working.

1 Like

Hi,
Thanks for your reply! The log file is :

Slicer version …: 5.6.2 (revision 32448 / f10cd8c) win-amd64 - installed release
Operating system …: Windows / Professional / (Build 22621, Code Page 65001) - 64-bit
Memory …: 32491 MB physical, 37355 MB virtual
CPU …: GenuineIntel , 20 cores, 20 logical processors
VTK configuration …: OpenGL2 rendering, TBB threading
Qt configuration …: version 5.15.2, with SSL, requested OpenGL 3.2 (compatibility profile)
Internationalization …: disabled, language=
Developer mode …: disabled
Application path …: C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/bin
libpng warning: iCCP: profile ‘ICC Profile’: ‘CMYK’: invalid ICC profile color space
libpng warning: iCCP: known incorrect sRGB profile

ModuleType: CommandLineModule

Resample Scalar/Vector/DWI Volume command line:

C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/bin/…/lib/Slicer-5.6/cli-modules/ResampleScalarVectorDWIVolume.exe --hfieldtype h-Field --interpolation linear --transform_order output-to-input --image_center input --spacing 0.025000000372529,0.025000000372529,0.025000000372529 --size 140,194,339 --origin 5.90012,-1.55799,19.2427 --direction_matrix -0.99802077918573,0.0348755839426684,-0.0523279829524778,-0.0348755837543809,-0.999391244391407,-0.00091338841198455,-0.0523279845904687,0.000913388445507022,0.998629534873536 --number_of_thread 0 --default_pixel_value 0 --window_function c --spline_order 3 --transform_matrix 1,0,0,0,1,0,0,0,1,0,0,0 --transform a C:/Users/GrafLab/AppData/Local/Temp/Slicer/BAGAE_vtkMRMLScalarVolumeNodeC.nrrd C:/Users/GrafLab/AppData/Local/Temp/Slicer/BAGAE_vtkMRMLScalarVolumeNodeE.nrrd

Resample Scalar/Vector/DWI Volume completed without errors

Switch to module: “VolumeRendering”
Switch to module: “Segmentations”
Switch to module: “SegmentEditor”
QLayout::addChildLayout: layout “” already has a parent
ctkSliderWidget::setSingleStep() 0 is out of bounds. 0 10 1
Switch to module: “CropVolume”
Found CommandLine Module, target is C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/bin/…/lib/Slicer-5.6/cli-modules/ResampleScalarVectorDWIVolume.exe

ModuleType: CommandLineModule

Resample Scalar/Vector/DWI Volume command line:

C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/bin/…/lib/Slicer-5.6/cli-modules/ResampleScalarVectorDWIVolume.exe --hfieldtype h-Field --interpolation linear --transform_order output-to-input --image_center input --spacing 0.025000000372529,0.025000000372529,0.025000000372529 --size 149,245,366 --origin 6.15869,-1.55289,18.5764 --direction_matrix -0.99802077918573,0.0348755839426684,-0.0523279829524778,-0.0348755837543809,-0.999391244391407,-0.00091338841198455,-0.0523279845904687,0.000913388445507022,0.998629534873536 --number_of_thread 0 --default_pixel_value 0 --window_function c --spline_order 3 --transform_matrix 1,0,0,0,1,0,0,0,1,0,0,0 --transform a C:/Users/GrafLab/AppData/Local/Temp/Slicer/BAGAE_vtkMRMLScalarVolumeNodeE.nrrd C:/Users/GrafLab/AppData/Local/Temp/Slicer/BAGAE_vtkMRMLScalarVolumeNodeE.nrrd

Input port 0 of algorithm vtkImageMapToWindowLevelColors (0000017A5CC24E90) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageThreshold (0000017A5C703740) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageMapToWindowLevelColors (0000017A5CC24E90) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageReslice (0000017A56A43210) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageMapToWindowLevelColors (0000017A5CC24E90) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageThreshold (0000017A5C703740) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageMapToWindowLevelColors (0000017A5CC24E90) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageReslice (0000017A56A43210) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageMapToWindowLevelColors (0000017A5CC24E90) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageThreshold (0000017A5C703740) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageMapToWindowLevelColors (0000017A5CC24E90) has 0 connections but is not optional.

Input port 0 of algorithm vtkImageReslice (0000017A58A04880) has 0 connections but is not optional.
Switch to module: “SegmentEditor”
ctkSliderWidget::setSingleStep() 0 is out of bounds. 0 10 1
ctkSliderWidget::setSingleStep() 0 is out of bounds. 0 10 1
Switch to module: “CropVolume”
Switch to module: “Markups”
Switch to module: “CropVolume”
Switch to module: “Data”
ctkRangeWidget::setSingleStep( 100 ) is outside valid bounds
Switch to module: “VolumeRendering”
Switch to module: “CropVolume”
Found CommandLine Module, target is C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/bin/…/lib/Slicer-5.6/cli-modules/ResampleScalarVectorDWIVolume.exe

Resample Scalar/Vector/DWI Volume command line:

C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/bin/…/lib/Slicer-5.6/cli-modules/ResampleScalarVectorDWIVolume.exe --hfieldtype h-Field --interpolation linear --transform_order output-to-input --image_center input --spacing 0.025000000372529,0.025000000372529,0.025000000372529 --size 150,263,388 --origin 6.20134,-1.07981,18.0242 --direction_matrix -0.99802077918573,0.0348755839426684,-0.0523279829524778,-0.0348755837543809,-0.999391244391407,-0.00091338841198455,-0.0523279845904687,0.000913388445507022,0.998629534873536 --number_of_thread 0 --default_pixel_value 0 --window_function c --spline_order 3 --transform_matrix 1,0,0,0,1,0,0,0,1,0,0,0 --transform a C:/Users/GrafLab/AppData/Local/Temp/Slicer/BAGAE_vtkMRMLScalarVolumeNodeC.nrrd C:/Users/GrafLab/AppData/Local/Temp/Slicer/BAGAE_vtkMRMLScalarVolumeNodeF.nrrd

Resample Scalar/Vector/DWI Volume completed without errors

Switch to module: “VolumeRendering”
Switch to module: “SegmentEditor”
ctkSliderWidget::setSingleStep() 0 is out of bounds. 0 10 1
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
Switch to module: “Data”
Switch to module: “SegmentEditor”
Switch to module: “Segmentations”
“Model” Reader has successfully read the file
Switch to module: “Markups”
Switch to module: “Data”
Switch to module: “Markups”
Switch to module: “GPA”
Collecting pandas
Downloading pandas-2.2.3-cp39-cp39-win_amd64.whl.metadata (19 kB)
Requirement already satisfied: numpy>=1.22.4 in c:\users\graflab\appdata\local\slicer.org\slicer 5.6.2\lib\python\lib\site-packages (from pandas) (1.26.1)
Requirement already satisfied: python-dateutil>=2.8.2 in c:\users\graflab\appdata\local\slicer.org\slicer 5.6.2\lib\python\lib\site-packages (from pandas) (2.8.2)
Collecting pytz>=2020.1 (from pandas)
Downloading pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB)
Collecting tzdata>=2022.7 (from pandas)
Downloading tzdata-2024.2-py2.py3-none-any.whl.metadata (1.4 kB)
Requirement already satisfied: six>=1.5 in c:\users\graflab\appdata\local\slicer.org\slicer 5.6.2\lib\python\lib\site-packages (from python-dateutil>=2.8.2->pandas) (1.16.0)
Downloading pandas-2.2.3-cp39-cp39-win_amd64.whl (11.6 MB)
---------------------------------------- 11.6/11.6 MB 81.8 MB/s eta 0:00:00
Downloading pytz-2024.2-py2.py3-none-any.whl (508 kB)
---------------------------------------- 508.0/508.0 kB ? eta 0:00:00
Downloading tzdata-2024.2-py2.py3-none-any.whl (346 kB)
--------------------------------------- 346.6/346.6 kB 22.4 MB/s eta 0:00:00
Installing collected packages: pytz, tzdata, pandas
Successfully installed pandas-2.2.3 pytz-2024.2 tzdata-2024.2
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1022, in onSelectLandmarkFiles
self.LM_dir_name = os.path.dirname(self.inputFilePaths[0])
IndexError: tuple index out of range
Switch to module: “Markups”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
void __cdecl qSlicerSaveDataDialogPrivate::updateStatusIconFromMessageCollection(int,class vtkMRMLMessageCollection *,bool) Data save information: “”
Switch to module: “GPA”
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Result import failed: Missing file
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Result import failed: Missing file
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Excluded landmarks: [‘f.mark’]
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1195, in onLoad
self.LMExclusionList=[int(x) for x in self.LMExclusionList]
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1195, in
self.LMExclusionList=[int(x) for x in self.LMExclusionList]
ValueError: invalid literal for int() with base 10: ‘f.mark’
Excluded landmarks: [‘f.mark’]
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1195, in onLoad
self.LMExclusionList=[int(x) for x in self.LMExclusionList]
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1195, in
self.LMExclusionList=[int(x) for x in self.LMExclusionList]
ValueError: invalid literal for int() with base 10: ‘f.mark’
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs
Loaded 39 subjects with 1 landmark points.
C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py:94: RuntimeWarning: invalid value encountered in divide
shape=shape/np.linalg.norm(shape)
Traceback (most recent call last):
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 1209, in onLoad
self.LM.doGpa(self.BoasOption)
File “C:/Users/GrafLab/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerMorph/lib/Slicer-5.6/qt-scripted-modules/GPA.py”, line 229, in doGpa
self.lm, self.mShape=gpa_lib.runGPA(self.lmOrig)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 125, in runGPA
allLandmarkSets = procrustesAlign(allLandmarkSets[:,:,0],allLandmarkSets)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 142, in procrustesAlign
allLandmarkSets[:,:,index] = alignShape(mean, allLandmarkSets[:,:,index])
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\slicer.org\Extensions-32448\SlicerMorph\lib\Slicer-5.6\qt-scripted-modules\Support\gpa_lib.py”, line 102, in alignShape
u,s,v=sp.svd(np.dot(np.transpose(refShape),shape), full_matrices=True)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy\linalg_decomp_svd.py”, line 108, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\scipy_lib_util.py”, line 240, in _asarray_validated
a = toarray(a)
File “C:\Users\GrafLab\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\site-packages\numpy\lib\function_base.py”, line 630, in asarray_chkfinite
raise ValueError(
ValueError: array must not contain infs or NaNs

I see - so I must enter both landmark file sets at once? That may be the issue as I currently have been trying only one sample’s landmarks. Apologies for the naive question; I’m very new to slicer!

This is the issue. There is only 1 landmark point in 39 files. The covariance matrix is singular and everything breaks apart. You can’t do a shape analysis with a single landmark.

If this is not what you are trying to do (i.e., work with a single landmark), then please share your dataset. Otherwise perhaps review our GPA module tutorials to understand how it works: GitHub - SlicerMorph/Tutorials: SlicerMorph module tutorials.

I was under the impression that each point placed (ie each .json file) was a landmark. How can I place landmarks if not in the markups module?

Thanks!

A pointList markup type can store many control points (aka landmarks). Please read our tutorials. Including the ones for Markups from the link I shared above.