# Shape analysis using MFSDA

**URL:** <https://discourse.slicer.org/t/shape-analysis-using-mfsda/18018>\
**Category:** Support\
**Tags:** spharm-pdm\
**Created:** [June 8, 2021, 5:43pm UTC](https://discourse.slicer.org/t/shape-analysis-using-mfsda/18018 "2021-06-08T17:43:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![iyerkrithika21](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/iyerkrithika21/32/11175_2.png) [@iyerkrithika21](https://discourse.slicer.org/u/iyerkrithika21)\
**Post date:** [June 8, 2021, 5:43pm UTC](https://discourse.slicer.org/t/shape-analysis-using-mfsda/18018/1 "2021-06-08T17:43:50Z")

</div>

Trying to run the Covariates Significance Test with SlicerSALT 3.0.0

1. The program fails if the selected folder to store the output values is empty
2. If pvalues.json and output.vtk are some empty files placed in the output folder, the modules closes abruptly  
3.I am also seeing this error: `Source array too small, requested tuple at index 26101, but there are only 492 tuples in the array.`

---

<div class="post-metadata">

**Author:** ![bpaniagua](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bpaniagua/32/20_2.png) [@bpaniagua](https://discourse.slicer.org/u/bpaniagua)\
**Post date:** [June 8, 2021, 5:45pm UTC](https://discourse.slicer.org/t/shape-analysis-using-mfsda/18018/2 "2021-06-08T17:45:06Z")

</div>

Hi Krithika,

I am sorry you are having problems with covariance testing. Can you describe your inputs to MSFDA?  
Thanks,

Bea

---

<div class="post-metadata">

**Author:** ![iyerkrithika21](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/iyerkrithika21/32/11175_2.png) [@iyerkrithika21](https://discourse.slicer.org/u/iyerkrithika21)\
**Post date:** [June 8, 2021, 5:47pm UTC](https://discourse.slicer.org/t/shape-analysis-using-mfsda/18018/3 "2021-06-08T17:47:28Z")

</div>

Yes, input.csv which has two columns : VTK File and groups  
Using the Shape Population Analyzer I am also able to load the data using the csv file.

---

<div class="post-metadata">

**Author:** ![bpaniagua](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bpaniagua/32/20_2.png) [@bpaniagua](https://discourse.slicer.org/u/bpaniagua)\
**Post date:** [June 8, 2021, 5:49pm UTC](https://discourse.slicer.org/t/shape-analysis-using-mfsda/18018/4 "2021-06-08T17:49:52Z")

</div>

Can you check the dimensionality of every sample you have? i.e. in unix systems, by going to the folder where the vtk’s are stated and doing head file.vtk. In bash that would be  
`for i in ./*vtk ; do head $i ; done`

---

<div class="post-metadata">

**Author:** ![iyerkrithika21](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/iyerkrithika21/32/11175_2.png) [@iyerkrithika21](https://discourse.slicer.org/u/iyerkrithika21)\
**Post date:** [June 8, 2021, 5:53pm UTC](https://discourse.slicer.org/t/shape-analysis-using-mfsda/18018/5 "2021-06-08T17:53:47Z")

</div>

I can see that all vtk files have varying number of points. But all of them are in the range of 26000.

```auto
ASCII
DATASET POLYDATA
POINTS 25983 float

```

---

<div class="post-metadata">

**Author:** ![alexsunny123](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@alexsunny123](https://discourse.slicer.org/u/alexsunny123)\
**Post date:** [June 13, 2021, 12:07pm UTC](https://discourse.slicer.org/t/shape-analysis-using-mfsda/18018/6 "2021-06-13T12:07:08Z")

</div>

> [@bpaniagua](#):
>
> Can you check the dimensionality of every sample you have? i.e. in unix systems, by going to the folder where the vtk’s are stated and doing head file.vtk. In bash that would be  
> `for i in ./*vtk ; do head $i ; done`

thanks for the awesome information.

---

<div class="post-metadata">

**Author:** ![alexsunny123](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@alexsunny123](https://discourse.slicer.org/u/alexsunny123)\
**Post date:** [September 7, 2021, 1:11pm UTC](https://discourse.slicer.org/t/shape-analysis-using-mfsda/18018/7 "2021-09-07T13:11:56Z")

</div>

> [@alexsunny123](#):
>
> > [@bpaniagua](#):
> >
> > Can you check the dimensionality of every sample you have? i.e. in unix systems, by going to the folder where the vtk’s are stated and doing head file.vtk. In bash that would be
> > 
> > > `for i in ./*vtk ; do head $i ; done`[.](https://ometv.onl) [.](https://chatroulette.top) [.](https://omegle.wtf)
> 
> thanks for the awesome information.

thanks my issue has been fixxed.
