bids-validator icon indicating copy to clipboard operation
bids-validator copied to clipboard

Provide summary of how many files analyzed, have issues and ignored (due to .bidsignore)

Open yarikoptic opened this issue 1 year ago • 3 comments

Could be as simple as expanding the total number of files in Summary

instead of

        Summary:                     Available Tasks:                      Available Modalities: 
        14966 Files, 750.13GB        movie                                 MRI                   
        88 - Subjects                rest                                                        
        2 - Sessions                 rsa                                           

get smth like (might need tuning to fit into table like form)

        Summary:                     Available Tasks:                      Available Modalities: 
        14966 - Files (100 with errors, 866 ignored)        movie                                 MRI                   
        750.13GB - Size              rest                                                        
        88 - Subjects                 rsa                                           

yarikoptic avatar May 25 '23 13:05 yarikoptic

866 ignored you are bad !

CPernet avatar May 25 '23 13:05 CPernet

866 ignored you are bad !

roughly 6% of files ignored: I am sure we can top that!

Remi-Gau avatar May 25 '23 13:05 Remi-Gau

ha ha -- it was a hypothetical case, I had no .bidsignore in this one. But I bet we can find even more grave abusers since some really brought it to the next level (no globs were harmed ;) ):

$> wc -l */.bidsignore | sort -n | tail
wc: ds001583/.bidsignore: Is a directory
     17 ds003643/.bidsignore
     19 ds000236/.bidsignore
     22 ds002311/.bidsignore
     23 ds001454/.bidsignore
     33 ds002041/.bidsignore
     34 ds000108/.bidsignore
     64 ds000240/.bidsignore
     82 ds002320/.bidsignore
   2674 ds000221/.bidsignore

yarikoptic avatar May 25 '23 16:05 yarikoptic