TractSeg icon indicating copy to clipboard operation
TractSeg copied to clipboard

Plot3D error

Open Hmc1231 opened this issue 1 year ago • 1 comments

When running Plot3D I get this error:

python3.8/site-packages/fury/utils.py:288: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray. cols_arr = np.asarray(colors)

The function will run but consistently produces images where the tracts are outside of the phantom. This is despite the DWI file being registered to MNI space and using the --tck option at the tracking, tractometry and plotting stages. Im sure the .tck files line up with the mask file because I have manually checked them with Fibernavigator. This issue only started for me after the --preprocess flag was removed at the TOM stage. any advice would be greatly appreciated.

I've attached an image of what CC_1 below:

prevspost_mc_3D_CC_1_3D

Hmc1231 avatar May 01 '23 01:05 Hmc1231