DSI Studio crash computing connectivity matrix - GUI and commandline

102 views
Skip to first unread message

James Hengenius

unread,
Mar 2, 2021, 12:59:58 PM3/2/21
to DSI Studio
Hi Frank,

I ran into this problem running the February 26, 2021 version of DSI Studio.

I have a whole brain trk file and a binary lesion map included in my fib file. I want to compute the lesion burden between ROIs using the following command in the GUI [Tracts][Connectivity matrix...]:

Parcellation atlas: ROIs, end region. Value: lesion, threshold by 0.00100 of the sum

When I click Recalculate, DSI Studio crashes. I attempted the same in the commandline:

dsi_studio --action=ana --source=HCP201_dsistudio.fib.gz
         --tract=HCP201_dsistudio.trk.gz 
         --connectivity=native_MMP.nii.gz 
         --connectivity_value=qa,count,ncount,lesion 
         --connectivity_type=pass,end

The program progresses until it tries to compute the lesion matrix, then it quits It does not produce and error message:

DSI Studio Feb 26 2021, Fang-Cheng Yeh 
source=HCP201_dsistudio.fib.gz 
action=ana 
loading HCP201_dsistudio.fib.gz... 
tract=HCP201_dsistudio.trk.gz 
loading HCP201_dsistudio.trk.gz... 
loading HCP201_dsistudio.trk.gz 
HCP201_dsistudio.trk.gz loaded 
connectivity=native_MMP.nii.gz 
connectivity_type=pass,end 
connectivity_value=qa,count,ncount,lesion 
loading native_MMP.nii.gz 
DWI dimension=(157,189,136) 
NIFTI dimension=(260,311,260) 
nifti loaded as multiple ROI file 
looking for region label file 
no label file found. Use default ROI numbering. 
NIFTI file has a different dimension from DWI. 
applying QSDR warpping to the native space NIFTI file 
a total of 360 regions are loaded. 
connectivity_threshold=0.001 
count tracks by passing 
calculate matrix using qa 
export connectivity matrix to HCP201_dsistudio.fib.gz.native_MMP.qa.pass.connectivity.mat 
export connectogram to HCP201_dsistudio.fib.gz.native_MMP.qa.pass.connectogram.txt 
export network measures to HCP201_dsistudio.fib.gz.native_MMP.qa.pass.network_measures.txt 
connectivity_threshold=0.001 
count tracks by passing 
calculate matrix using count 
export connectivity matrix to HCP201_dsistudio.fib.gz.native_MMP.count.pass.connectivity.mat 
export connectogram to HCP201_dsistudio.fib.gz.native_MMP.count.pass.connectogram.txt 
export network measures to HCP201_dsistudio.fib.gz.native_MMP.count.pass.network_measures.txt 
connectivity_threshold=0.001 
count tracks by passing 
calculate matrix using ncount 
export connectivity matrix to HCP201_dsistudio.fib.gz.native_MMP.ncount.pass.connectivity.mat 
export connectogram to HCP201_dsistudio.fib.gz.native_MMP.ncount.pass.connectogram.txt 
export network measures to HCP201_dsistudio.fib.gz.native_MMP.ncount.pass.network_measures.txt 
connectivity_threshold=0.001 
count tracks by passing 
calculate matrix using lesion 
export connectivity matrix to HCP201_dsistudio.fib.gz.native_MMP.lesion.pass.connectivity.mat 
export connectogram to HCP201_dsistudio.fib.gz.native_MMP.lesion.pass.connectogram.txt 
export network measures to HCP201_dsistudio.fib.gz.native_MMP.lesion.pass.network_measures.txt 

Any help would be greatly appreciated!

Frank Yeh

unread,
Mar 2, 2021, 1:25:15 PM3/2/21
to dsi-s...@googlegroups.com
Could you upload the files in a zip file?
I will check the problem and get back to you.
Frank
> --
> You received this message because you are subscribed to the Google Groups "DSI Studio" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to dsi-studio+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/dsi-studio/aa76c2c5-8727-4798-8ce7-3197a9534214o%40googlegroups.com.

James Hengenius

unread,
Mar 2, 2021, 2:04:03 PM3/2/21
to DSI Studio
Sure Frank - I just uploaded the fib, trk, and ROI files. 

Jim
> To unsubscribe from this group and stop receiving emails from it, send an email to dsi-s...@googlegroups.com.

Frank Yeh

unread,
Mar 11, 2021, 8:50:24 PM3/11/21
to dsi-s...@googlegroups.com
I updated DSI Studio to fix this bug.
Please test if it works for you.
Best,
Frank

To unsubscribe from this group and stop receiving emails from it, send an email to dsi-studio+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dsi-studio/69f858ef-21c1-4579-bac6-1b6054712e9eo%40googlegroups.com.

James Hengenius

unread,
Mar 12, 2021, 10:49:40 AM3/12/21
to DSI Studio
Thanks Frank!

I just tested it out and the connectivity matrix now works when computed from the GUI and the command line.

Jim

James Hengenius

unread,
Mar 12, 2021, 11:19:10 AM3/12/21
to DSI Studio
Hi Frank,

Thanks for fixing this so quickly. Follow-up question: Is this fix reflected in the current Mac version of DSI Studio as well? One of my collaborators is on Mac and would like to run this analysis on his computer. (I'm on a Windows PC so I can't test the Mac version myself.)

Thanks!

Jim

Frank Yeh

unread,
Mar 12, 2021, 11:30:52 AM3/12/21
to dsi-s...@googlegroups.com
Yes, it is updated (today's version).
Frank

To unsubscribe from this group and stop receiving emails from it, send an email to dsi-studio+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dsi-studio/0cbf4196-343c-4643-a09a-187f5d78982bo%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages