TractSeg icon indicating copy to clipboard operation
TractSeg copied to clipboard

Error in plotting tractometry results - subjects.txt

Open ozgezer opened this issue 3 years ago • 4 comments

Hi there,

I am pretty new with TractSeg and I am trying to get plots of Tractometry results using 'target' rather than 'group' option in the subjects text file. I entered behavioural scores of the participants under target in the text file however I get the error below. I made the code work for grouping but I am not sure what is wrong when I use target option.

Do I need to transform behavioural data or do something else before entering them to subjects text file?

/home//miniconda3/envs/jupyter/lib/python3.10/site-packages/scipy/stats/_stats_py.py:4068: PearsonRConstantInputWarning: An input array is constant; the correlation coefficient is not defined. warnings.warn(PearsonRConstantInputWarning())

I would appreciate any help a lot, many thanks in advance!

Best wishes, Özge.

ozgezer avatar Aug 26 '22 11:08 ozgezer

Could you post the content of the subjects.txt file or send it to me? Then I can try to reproduce the issue.

wasserth avatar Aug 29 '22 09:08 wasserth

Sure, I attached the subjects file. Many thanks in advance!

subjects.txt

Best wishes, Özge.

ozgezer avatar Aug 29 '22 10:08 ozgezer

Thank you. Could you maybe also print the entire Error message?

wasserth avatar Aug 29 '22 12:08 wasserth

Thanks a lot, I attached the error text file as well. error.txt

ozgezer avatar Aug 29 '22 12:08 ozgezer