TractSeg icon indicating copy to clipboard operation
TractSeg copied to clipboard

Error parsing subjexts.txt file

Open Hmc1231 opened this issue 2 years ago • 1 comments

Hi All,

I've just started getting this new error when running plot_tractometry_results:

Traceback (most recent call last): File "/home/miniconda3/envs/myenv/bin/plot_tractometry_results", line 384, in main() File "/home/miniconda3/envs/myenv/bin/plot_tractometry_results", line 370, in main raw = np.loadtxt(base_path.replace("SUBJECT_ID", subject), delimiter=";", skiprows=1).transpose() File "/home/miniconda3/envs/myenv/lib/python3.8/site-packages/numpy/lib/npyio.py", line 1318, in loadtxt arr = _read(fname, dtype=dtype, comment=comment, delimiter=delimiter, File "/home/miniconda3/envs/myenv/lib/python3.8/site-packages/numpy/lib/npyio.py", line 979, in _read arr = _load_from_filelike( ValueError: could not convert string '0.101622955047391,0.081261228222051,0.114054274503362,0.001550102216249,0.010792287384796,0.0304236 to float64 at row 0, column 1.

Any ideas what could be causing this? Any advice would be much appreciated.

Thanks, Hugh

Hmc1231 avatar Jan 19 '23 15:01 Hmc1231