GaoxingZheng / UFA_toolbox

U fiber analysis: a toolbox for automated quantification of U-fibers and white matter hyperintensities
Apache License 2.0
8 stars 0 forks source link

No fibers found in input polydata & No Points element available in U-fiber clustering #3

Open yunyunjin opened 3 months ago

yunyunjin commented 3 months ago

Hello,

I have checked the 'WMA package bug fix' you provided earlier. Thanks to your help, I was able to resolve the initial bug and generate new outputs. However, I have now encountered another issue while using the U-fiber clustering feature in the UFA toolbox. The process fails with errors indicating that no fibers are found in the input polydata and that there are no points available in the input files.

Errors:

<filter.py> No fibers found in input polydata.
Subject 73 / 74 ID: T_UF_left
2024-07-17 02:21:55.182 (  93.685s) [    7F61C321E740]vtkXMLUnstructuredDataR:404   WARN| vtkXMLPolyDataReader (0x54abee0): No Points element available in first piece found in file. Reading file may fail.
<filter.py> No fibers found in input polydata.
<render.py> Saving rendered views to disk: /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_left
...
<wm_quality_control_tractography.py> Final step: rendering all vtk files together.
<render.py> Saving rendered views to disk: /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/
2024-07-17 02:26:22.599 (   0.349s) [    7F1CBD150740]vtkXMLUnstructuredDataR:404   WARN| vtkXMLPolyDataReader (0x299dd20): No Points element available in first piece found in file. Reading file may fail.
...

Additional Steps Taken: I followed the instructions to install Slicer Extensions:

Opened 3D Slicer and tried to search for the SlicerDMRI Extension. When the search function didn't work, I installed SlicerDMRI from a file. Initially, the installation didn't seem complete because the SlicerDMRI icon was missing (it should appear as a puzzle piece on a blue background). I clicked update, and the installation completed successfully with the correct SlicerDMRI module icon. I was then prompted to install an additional extension, UKFTractography. I installed it, but I'm not sure if it installed correctly. Could the issue be related to the incomplete installation of the UKFTractography extension? Any guidance or fixes to address this issue would be greatly appreciated.

full version:

<filter.py> No fibers found in input polydata.
Subject 68 / 74 ID: T_TF_right
2024-07-17 02:21:52.112 (  90.613s) [    7F61C321E740]vtkXMLUnstructuredDataR:404   WARN| vtkXMLPolyDataReader (0x3bc9900): No Points element available in first piece found in file. Reading file may fail.
<filter.py> No fibers found in input polydata.
<render.py> Saving rendered views to disk: /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TF_right
Multiple views for individual subject
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TF_right
tract_QC_T_TF_right/view_left_T_TF_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TF_right/view_multiple_T_TF_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TF_right
tract_QC_T_TF_right/view_right_T_TF_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TF_right/view_multiple_T_TF_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TF_right
tract_QC_T_TF_right/view_inf_T_TF_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TF_right/view_multiple_T_TF_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TF_right
tract_QC_T_TF_right/view_sup_T_TF_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TF_right/view_multiple_T_TF_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TF_right
tract_QC_T_TF_right/view_ant_T_TF_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TF_right/view_multiple_T_TF_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TF_right
tract_QC_T_TF_right/view_post_T_TF_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TF_right/view_multiple_T_TF_right.html
<filter.py> No fibers found in input polydata.
Subject 69 / 74 ID: T_TO_left
2024-07-17 02:21:52.679 (  91.181s) [    7F61C321E740]vtkXMLUnstructuredDataR:404   WARN| vtkXMLPolyDataReader (0x54c7df0): No Points element available in first piece found in file. Reading file may fail.
<filter.py> No fibers found in input polydata.
<render.py> Saving rendered views to disk: /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_left
Multiple views for individual subject
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_left
tract_QC_T_TO_left/view_left_T_TO_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_left/view_multiple_T_TO_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_left
tract_QC_T_TO_left/view_right_T_TO_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_left/view_multiple_T_TO_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_left
tract_QC_T_TO_left/view_inf_T_TO_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_left/view_multiple_T_TO_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_left
tract_QC_T_TO_left/view_sup_T_TO_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_left/view_multiple_T_TO_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_left
tract_QC_T_TO_left/view_ant_T_TO_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_left/view_multiple_T_TO_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_left
tract_QC_T_TO_left/view_post_T_TO_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_left/view_multiple_T_TO_left.html
<filter.py> No fibers found in input polydata.
Subject 70 / 74 ID: T_TO_right
2024-07-17 02:21:53.277 (  91.780s) [    7F61C321E740]vtkXMLUnstructuredDataR:404   WARN| vtkXMLPolyDataReader (0x2de7c50): No Points element available in first piece found in file. Reading file may fail.
<filter.py> No fibers found in input polydata.
<render.py> Saving rendered views to disk: /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_right
Multiple views for individual subject
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_right
tract_QC_T_TO_right/view_left_T_TO_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_right/view_multiple_T_TO_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_right
tract_QC_T_TO_right/view_right_T_TO_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_right/view_multiple_T_TO_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_right
tract_QC_T_TO_right/view_inf_T_TO_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_right/view_multiple_T_TO_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_right
tract_QC_T_TO_right/view_sup_T_TO_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_right/view_multiple_T_TO_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_right
tract_QC_T_TO_right/view_ant_T_TO_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_right/view_multiple_T_TO_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_right
tract_QC_T_TO_right/view_post_T_TO_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TO_right/view_multiple_T_TO_right.html
<filter.py> No fibers found in input polydata.
Subject 71 / 74 ID: T_TP_left
2024-07-17 02:21:53.872 (  92.375s) [    7F61C321E740]vtkXMLUnstructuredDataR:404   WARN| vtkXMLPolyDataReader (0x54abee0): No Points element available in first piece found in file. Reading file may fail.
<filter.py> No fibers found in input polydata.
<render.py> Saving rendered views to disk: /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_left
Multiple views for individual subject
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_left
tract_QC_T_TP_left/view_left_T_TP_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_left/view_multiple_T_TP_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_left
tract_QC_T_TP_left/view_right_T_TP_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_left/view_multiple_T_TP_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_left
tract_QC_T_TP_left/view_inf_T_TP_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_left/view_multiple_T_TP_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_left
tract_QC_T_TP_left/view_sup_T_TP_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_left/view_multiple_T_TP_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_left
tract_QC_T_TP_left/view_ant_T_TP_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_left/view_multiple_T_TP_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_left
tract_QC_T_TP_left/view_post_T_TP_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_left/view_multiple_T_TP_left.html
<filter.py> No fibers found in input polydata.
Subject 72 / 74 ID: T_TP_right
2024-07-17 02:21:54.461 (  92.964s) [    7F61C321E740]vtkXMLUnstructuredDataR:404   WARN| vtkXMLPolyDataReader (0x54abee0): No Points element available in first piece found in file. Reading file may fail.
<filter.py> No fibers found in input polydata.
<render.py> Saving rendered views to disk: /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_right
Multiple views for individual subject
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_right
tract_QC_T_TP_right/view_left_T_TP_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_right/view_multiple_T_TP_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_right
tract_QC_T_TP_right/view_right_T_TP_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_right/view_multiple_T_TP_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_right
tract_QC_T_TP_right/view_inf_T_TP_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_right/view_multiple_T_TP_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_right
tract_QC_T_TP_right/view_sup_T_TP_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_right/view_multiple_T_TP_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_right
tract_QC_T_TP_right/view_ant_T_TP_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_right/view_multiple_T_TP_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_right
tract_QC_T_TP_right/view_post_T_TP_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_TP_right/view_multiple_T_TP_right.html
<filter.py> No fibers found in input polydata.
Subject 73 / 74 ID: T_UF_left
2024-07-17 02:21:55.182 (  93.685s) [    7F61C321E740]vtkXMLUnstructuredDataR:404   WARN| vtkXMLPolyDataReader (0x54abee0): No Points element available in first piece found in file. Reading file may fail.
<filter.py> No fibers found in input polydata.
<render.py> Saving rendered views to disk: /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_left
Multiple views for individual subject
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_left
tract_QC_T_UF_left/view_left_T_UF_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_left/view_multiple_T_UF_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_left
tract_QC_T_UF_left/view_right_T_UF_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_left/view_multiple_T_UF_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_left
tract_QC_T_UF_left/view_inf_T_UF_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_left/view_multiple_T_UF_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_left
tract_QC_T_UF_left/view_sup_T_UF_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_left/view_multiple_T_UF_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_left
tract_QC_T_UF_left/view_ant_T_UF_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_left/view_multiple_T_UF_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_left
tract_QC_T_UF_left/view_post_T_UF_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_left/view_multiple_T_UF_left.html
<filter.py> No fibers found in input polydata.
Subject 74 / 74 ID: T_UF_right
<render.py> Saving rendered views to disk: /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_right
Multiple views for individual subject
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_right
tract_QC_T_UF_right/view_left_T_UF_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_right/view_multiple_T_UF_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_right
tract_QC_T_UF_right/view_right_T_UF_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_right/view_multiple_T_UF_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_right
tract_QC_T_UF_right/view_inf_T_UF_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_right/view_multiple_T_UF_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_right
tract_QC_T_UF_right/view_sup_T_UF_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_right/view_multiple_T_UF_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_right
tract_QC_T_UF_right/view_ant_T_UF_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_right/view_multiple_T_UF_right.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_right
tract_QC_T_UF_right/view_post_T_UF_right.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_UF_right/view_multiple_T_UF_right.html
<wm_quality_control_tractography.py> Final step: rendering all vtk files together.
<render.py> Saving rendered views to disk: /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/
2024-07-17 02:26:22.599 (   0.349s) [    7F1CBD150740]vtkXMLUnstructuredDataR:404   WARN| vtkXMLPolyDataReader (0x299dd20): No Points element available in first piece found in file. Reading file may fail.
2024-07-17 02:26:22.608 (   0.357s) [    7F1CBD150740]vtkXMLUnstructuredDataR:404   WARN| vtkXMLPolyDataReader (0x299dd20): No Points element available in first piece found in file. Reading file may fail.
2024-07-17 02:26:22.654 (   0.404s) [    7F1CBD150740]vtkXMLUnstructuredDataR:404   WARN| vtkXMLPolyDataReader (0x2b26560): No Points element available in first piece found in file. Reading file may fail.
2024-07-17 02:26:22.661 (   0.410s) [    7F1CBD150740]vtkXMLUnstructuredDataR:404   WARN| vtkXMLPolyDataReader (0x2b26560): No Points element available in first piece found in file. Reading file may fail.
2024-07-17 02:26:22.667 (   0.416s) [    7F1CBD150740]vtkXMLUnstructuredDataR:404   WARN| vtkXMLPolyDataReader (0x2b26560): No Points element available in first piece found in file. Reading file may fail.
2024-07-17 02:26:22.672 (   0.422s) [    7F1CBD150740]vtkXMLUnstructuredDataR:404   WARN| vtkXMLPolyDataReader (0x2b26560): No Points element available in first piece found in file. Reading file may fail.

Thank you.

yunyunjin commented 3 months ago

slicer

GaoxingZheng commented 3 months ago

Hi, the information you showed in the panel is not the key error information, can you give more details? Such as the WMA 'kill' error when doing wm_cluster_from_atlas.py step. I guess the error will be earlier than the information above.

yunyunjin commented 3 months ago

Thank you for your quick response. Here is the top part of the error. The old WMA error generated log.txt, but this time no such log file was created. So I'm not sure which part is the error.

<wm_separate_clusters_by_hemisphere.py> Done!!!
Importing whitematteranalysis package.
<wm_append_clusters_to_anatomical_tracts.py> 41 mrml files are detected.
<wm_append_clusters_to_anatomical_tracts.py> Output directory /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/AnatomicalTracts/ does not exist, creating it.
<wm_append_clusters_to_anatomical_tracts.py> hemispheric tracts (left and right): 
 * 1 - T_AF
 * 2 - T_CB
 * 3 - T_EmC
 * 4 - T_ILF
 * 5 - T_IOFF
 * 6 - T_MdLF
 * 7 - T_SLF-I
 * 8 - T_SLF-II
 * 9 - T_SLF-III
 * 10 - T_UF
 * 11 - T_CPC
 * 12 - T_ICP
 * 13 - T_Intra-CBLM-I&P
 * 14 - T_Intra-CBLM-PaT
 * 15 - T_EC
 * 16 - T_CR-F
 * 17 - T_CR-P
 * 18 - T_CST
 * 19 - T_PLIC
 * 20 - T_SF
 * 21 - T_SO
 * 22 - T_SP
 * 23 - T_TF
 * 24 - T_TO
 * 25 - T_TP
 * 26 - T_Sup-F
 * 27 - T_Sup-FP
 * 28 - T_Sup-O
 * 29 - T_Sup-OT
 * 30 - T_Sup-P
 * 31 - T_Sup-PO
 * 32 - T_Sup-PT
 * 33 - T_Sup-T
<wm_append_clusters_to_anatomical_tracts.py> commissural tracts: 
 * 34 - T_CC1
 * 35 - T_CC2
 * 36 - T_CC3
 * 37 - T_CC4
 * 38 - T_CC5
 * 39 - T_CC6
 * 40 - T_CC7
 * 41 - T_MCP

<wm_append_clusters_to_anatomical_tracts.py> Appended tracts can be found at /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/AnatomicalTracts

<wm_append_clusters_to_anatomical_tracts.py> A total of 74 tracts

Importing whitematteranalysis package.
<wm_quality_control_tractography.py> Starting...
<wm_quality_control_tractography.py> Found 74 subjects in input directory /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/AnatomicalTracts/
<wm_quality_control_tractography.py> Testing all files for quality control (computing fiber length measurements and rendering to make sure header and gradient orientations are ok).
<wm_quality_control_tractography.py> See the README.txt file in the output directory for more overview information.
Subject 1 / 74 ID: T_AF_left
2024-07-18 01:27:03.724 (   0.550s) [    7F90B9FC1740]vtkXMLUnstructuredDataR:404   WARN| vtkXMLPolyDataReader (0x26f2060): No Points element available in first piece found in file. Reading file may fail.
<filter.py> No fibers found in input polydata.
<render.py> Saving rendered views to disk: /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left
Multiple views for individual subject
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left
tract_QC_T_AF_left/view_left_T_AF_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left/view_multiple_T_AF_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left
tract_QC_T_AF_left/view_right_T_AF_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left/view_multiple_T_AF_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left
tract_QC_T_AF_left/view_inf_T_AF_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left/view_multiple_T_AF_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left
tract_QC_T_AF_left/view_sup_T_AF_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left/view_multiple_T_AF_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left
tract_QC_T_AF_left/view_ant_T_AF_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left/view_multiple_T_AF_left.html
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left
tract_QC_T_AF_left/view_post_T_AF_left.jpg
/usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left/view_multiple_T_AF_left.html
<filter.py> No fibers found in input polydata.
Subject 2 / 74 ID: T_AF_right
GaoxingZheng commented 3 months ago

Hi, there doesn't seem to be an error message in there, just some warnings, the error message should be something like error. Some minor problems with your vtk might be due to vtk configuration issues, but this doesn't seem to have much impact, at most on the visualisation rendering. BTW, no fibers in the input data is because we only clustered superficial u-fibers, and 74 brain regions are both deep and superficial fibers, so of course there are no fibers in deep brain regions. In the last two days I have updated the pipeline, and the clustering and quantitative analysis of the whole white matter fiber tracts have been put into the toolbox, and there will be a word document giving instructions for the update.

---- Replied Message ---- | From | @.> | | Date | 07/18/2024 10:13 | | To | GaoxingZheng/UFA_toolbox @.> | | Cc | GaoxingZheng @.>, Comment @.> | | Subject | Re: [GaoxingZheng/UFA_toolbox] No fibers found in input polydata & No Points element available in U-fiber clustering (Issue #3) |

Thank you for your quick response. Here is the top part of the error.

Done!!! Importing whitematteranalysis package. 41 mrml files are detected. Output directory /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/AnatomicalTracts/ does not exist, creating it. hemispheric tracts (left and right): * 1 - T_AF * 2 - T_CB * 3 - T_EmC * 4 - T_ILF * 5 - T_IOFF * 6 - T_MdLF * 7 - T_SLF-I * 8 - T_SLF-II * 9 - T_SLF-III * 10 - T_UF * 11 - T_CPC * 12 - T_ICP * 13 - T_Intra-CBLM-I&P * 14 - T_Intra-CBLM-PaT * 15 - T_EC * 16 - T_CR-F * 17 - T_CR-P * 18 - T_CST * 19 - T_PLIC * 20 - T_SF * 21 - T_SO * 22 - T_SP * 23 - T_TF * 24 - T_TO * 25 - T_TP * 26 - T_Sup-F * 27 - T_Sup-FP * 28 - T_Sup-O * 29 - T_Sup-OT * 30 - T_Sup-P * 31 - T_Sup-PO * 32 - T_Sup-PT * 33 - T_Sup-T commissural tracts: * 34 - T_CC1 * 35 - T_CC2 * 36 - T_CC3 * 37 - T_CC4 * 38 - T_CC5 * 39 - T_CC6 * 40 - T_CC7 * 41 - T_MCP Appended tracts can be found at /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/AnatomicalTracts A total of 74 tracts Importing whitematteranalysis package. Starting... Found 74 subjects in input directory /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/AnatomicalTracts/ Testing all files for quality control (computing fiber length measurements and rendering to make sure header and gradient orientations are ok). See the README.txt file in the output directory for more overview information. Subject 1 / 74 ID: T_AF_left 2024-07-18 01:27:03.724 ( 0.550s) [ 7F90B9FC1740]vtkXMLUnstructuredDataR:404 WARN| vtkXMLPolyDataReader (0x26f2060): No Points element available in first piece found in file. Reading file may fail. No fibers found in input polydata. Saving rendered views to disk: /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left Multiple views for individual subject /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left tract_QC_T_AF_left/view_left_T_AF_left.jpg /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left/view_multiple_T_AF_left.html /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left tract_QC_T_AF_left/view_right_T_AF_left.jpg /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left/view_multiple_T_AF_left.html /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left tract_QC_T_AF_left/view_inf_T_AF_left.jpg /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left/view_multiple_T_AF_left.html /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left tract_QC_T_AF_left/view_sup_T_AF_left.jpg /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left/view_multiple_T_AF_left.html /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left tract_QC_T_AF_left/view_ant_T_AF_left.jpg /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left/view_multiple_T_AF_left.html /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left tract_QC_T_AF_left/view_post_T_AF_left.jpg /usr/local/MATLAB/R2019b/toolbox/UFA_toolbox/WMA_clustering_SWM/QC/AnatomicalTracts/tract_QC_T_AF_left/view_multiple_T_AF_left.html No fibers found in input polydata. Subject 2 / 74 ID: T_AF_right — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: ***@***.***>
yunyunjin commented 3 months ago

Thank you so much for the update and your continued support. I am currently using the updated toolbox, but I encountered the same error. It seems similar to this issue https://github.com/Slicer/Slicer/issues/6447. The usual solution is to update the version, but as I understand, the UFA toolbox requires using 3D Slicer version 4.8.1. Unfortunately, modifying the VTK source seems beyond my capabilities.

So far, I have only tested this with one subject. However, it’s possible that this error might not occur with others, so I will proceed with additional subjects to see if the issue persists. Thank you once again for your kindly comment.

GaoxingZheng commented 3 months ago

Thank you so much for the update and your continued support. I am currently using the updated toolbox, but I encountered the same error. It seems similar to this issue Slicer/Slicer#6447. The usual solution is to update the version, but as I understand, the UFA toolbox requires using 3D Slicer version 4.8.1. Unfortunately, modifying the VTK source seems beyond my capabilities.

So far, I have only tested this with one subject. However, it’s possible that this error might not occur with others, so I will proceed with additional subjects to see if the issue persists. Thank you once again for your kindly comment.

Hi, can you send the WMA_clustering_SWM folder as a zip file to my email (zheng_gao_xing@163.com)? You can delete some large files and compress the remaining files to me. I'll check what's wrong with your code.