# Tckedit 

**URL:** <https://community.mrtrix.org/t/tckedit/8253>\
**Category:** Uncategorized\
**Tags:** error, tractography\
**Created:** [February 27, 2025, 6:28pm UTC](https://community.mrtrix.org/t/tckedit/8253 "2025-02-27T18:28:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![samia](https://community.mrtrix.org/letter_avatar_proxy/v4/letter/s/dbc845/32.png) [@samia](https://community.mrtrix.org/u/samia)\
**Post date:** [February 27, 2025, 6:28pm UTC](https://community.mrtrix.org/t/tckedit/8253/1 "2025-02-27T18:28:43Z")

</div>

Hello,  
I’m getting an error on trying to run tckedit:

[ERROR] Unable to parse text  
“path to file/sub-23362\_RR-ses-D1\_normalized.mif” as a ROI  
tckedit: [ERROR] If interpreted as sphere:  
tckedit: [ERROR] error converting string:  
“path to file/sub-23362\_RR-ses-D1\_normalized.mif” to type “d”  
tckedit: [ERROR] can’t parse floating-point sequence specifier  
“path to file/sub-23362\_RR-ses-D1\_normalized.mif”  
tckedit: [ERROR] If interpreted as image:  
tckedit: [ERROR] Cannot use image  
path to file/ sub-23362\_RR-ses-D1\_normalized.mif as ROI - image is empty

I understand `tckedit` is failing to interpret the `.mif` file as a valid ROI mask. However, **I used a bash script and it filtered the stream lines for all the other files except this one**. I checked the validity of the file by running mrinfo and it shows this:  
Dimensions: 128 x 128 x 32 x 44  
Voxel size: 0.125 x 0.125 x 0.46 x 1  
Data strides: [1 2 -3 4]  
Format: MRtrix  
Data type: 32 bit float (little endian)  
Intensity scaling: offset = 0, multiplier = 1  
Transform: 1 1.225e-16 3.328e-17 -7.938  
-1.225e-16 1 -4.075e-33 -7.938  
-4.507e-16 0 1 622 I would really appreciate the help.
