Open soichih opened 4 years ago
@soichih this has always bee an issue related to coordinate spaces. Is this new data? Is it AC-PC oriented? RAS or LAS?
The input t1 was acpc_aligned, and I've used the latest version of mrtrix3 preprocessing App, then fed it to mrtrix3 ACT app for tractography. The input tck looks good, I think.
The dwi's affine is in radiological (LAS).
I can confirm this error with HCP data on only 400 streamlines....
is this the first time we encounter this? or the first time LiFE is used with MRTRIX-3 processed tracking?
I was using mrtrix 0.2.12
Can you share the data set (download from brainlife) with me? We might want to take a look at this tomorrow?
@francopestilli I've recompiled app-life with the latest version of encode and vistasoft, and also on Matlab 2019a. I've tested the master branch and this time I am seeing a different error message.
+ export MAXMEM=19000000
+ MAXMEM=19000000
+ singularity exec -e docker://brainlife/mcr:r2019a ./compiled/main
time="2020-03-01T09:21:34-05:00" level=warning msg="\"/run/user/740536\" directory set by $XDG_RUNTIME_DIR does not exist. Either create the directory or unset $XDG_RUNTIME_DIR.: stat /run/user/740536: no such file or directory: Trying to pull image in the event that it is a public image."
Error using reshape
To RESHAPE the number of elements must not change.
Error in feGet (line 915)
Error in life (line 19)
Error in main (line 32)
MATLAB:getReshapeDims:notSameNumel
(stdout)
config =
struct with fields:
life_discretization: 360
num_iterations: 100
track: '../5e5bc48687cac70530ab0caa/5dd9990b936ca34021c57df6/track.tck'
dwi: '../5e5bc48687cac70530ab0caa/5dd97cd6936ca38846c57c8c/dwi.nii.gz'
bvecs: '../5e5bc48687cac70530ab0caa/5dd97cd6936ca38846c57c8c/dwi.bvecs'
bvals: '../5e5bc48687cac70530ab0caa/5dd97cd6936ca38846c57c8c/dwi.bvals'
x0x5F_inputs: {[1x1 struct] [1x1 struct]}
x0x5F_app: '5baa44b1d0be8b002776b8f7'
x0x5F_outputs: {[1x1 struct]}
x0x5F_tid: 2
using dwi
dwi =
'../5e5bc48687cac70530ab0caa/5dd97cd6936ca38846c57c8c/dwi.nii.gz'
running feConnectomeInit
[feConnectomeInit]
loading fiber from file: ../5e5bc48687cac70530ab0caa/5dd9990b936ca34021c57df6/track.tck
Reading Fiber Data for 525000 fibers...
loaded 525000 fibers...
Files loaded:
dwi = ../5e5bc48687cac70530ab0caa/5dd97cd6936ca38846c57c8c/dwi.nii.gz
bvecs = ../5e5bc48687cac70530ab0caa/5dd97cd6936ca38846c57c8c/dwi.bvecs
bvals = ../5e5bc48687cac70530ab0caa/5dd97cd6936ca38846c57c8c/dwi.bvals
[feBuildDictionaries] Computing demeaned and non-demeaned difussivities dictionaries in a (360x360)-grid ...took: 0.014s.
[feConnectomeEncoding] Encoding connectome (building Phi, sparse tensor) ... MAXMEM not set, need to calculate (UNIX or MacOS)
nNodesMax =57343513, Total number of nodes = 106829121, number of batch computation = 2
Encoding batch 1
Encoding batch 2
took: 204.258s.
[feConnectomeInit] fe-structure Memory Storage:4.30 Gb
fe =
struct with fields:
name: 'temp'
type: 'faseval'
life: [1x1 struct]
fg: [1x1 struct]
roi: [1x1 struct]
path: [1x1 struct]
rep: []
running feFitModel - iterations:100
I am running into the following error message.
If anyone knows what it means, please let me know!