Population_template_error

Hello everyone!
I am trying to generate the population template for FBA and I get the following error:

Command: transformcalc linear_transform_average.txt invert linear_transform_average_inv.txt -force -quiet
Segmentation fault

Any help how to resolve this would be much appreciated!

Cheers,
Vasiliki

Hello Vasiliki,

You’ll need to give us a bit more information. What is the content of linear_transform_average.txt? What is the output of transformcalc linear_transform_average.txt invert linear_transform_average_inv.txt -force -debug?

Hi Max,

The content of linear_transform_average.txt is
1.013322161320119 -0.0002673090389880448 0.0003903227684751977 -0.02270027821464483
-0.0004145256403370864 1.025211919289166 -0.001438760858234488 -0.3208892169086467
-0.0002595292765815685 -0.00455095599803715 1.024908675805827 -0.4329951579232266
0 0 0 1

the content of linear_transform_average_inv.txt
0.9868529937420911 0.0002556407791282832 -0.0003754709036354942 0.02232129280110979
0.0003993690950715657 0.9754142717081163 0.001369128806274203 0.3136018137431938
0.0002516660857945098 0.004331248121377571 0.9757026718629477 0.4238700961974818
0 0 0 1

and the output of transformcalc linear_transform_average.txt invert linear_transform_average_inv.txt -force -debug is
transformcalc linear_transform_average.txt invert linear_transform_average_inv.txt -force -debug
transformcalc: [WARNING] existing output files will be overwritten
transformcalc: [DEBUG] No config file found at "/etc/mrtrix.conf"
transformcalc: [DEBUG] No config file found at ".mrtrix.conf"
transformcalc: [DEBUG] loading transform file “linear_transform_average.txt”…
transformcalc: [ERROR] no data in matrix file “linear_transform_average.txt”

Cheers,
Vasiliki

Did you execute this command in the temporary directory? You would get the same error message if the file linear_transform_average.txt did not exist. And the error you got previously is a different one.

Hi Max,
I executed the command

transformcalc linear_transform_average.txt invert linear_transform_average_inv.txt -force -debug

in the directory where the data is stored. If I run it in the temporary directory I get the same error:

[k1465455@nanlnx4 population_template-tmp-OANW5I]0% transformcalc linear_transform_average.txt invert linear_transform_average_inv.txt -force -debug
transformcalc: [WARNING] existing output files will be overwritten
transformcalc: [DEBUG] No config file found at "/etc/mrtrix.conf"
transformcalc: [DEBUG] No config file found at ".mrtrix.conf"
transformcalc: [DEBUG] loading transform file “linear_transform_average.txt”…
transformcalc: [DEBUG] saving transform to file “linear_transform_average_inv.txt”…
transformcalc: [DEBUG] creating empty file “linear_transform_average_inv.txt”
[k1465455@nanlnx4 population_template-tmp-OANW5I]0%

Any ideas about what this means or how to resolve it?

Cheers,
Vasiliki

I don’t see an error in your output…

You might want to check the content of the file