bids-standard / bids-validator

Validator for the Brain Imaging Data Structure
https://bids-standard.github.io/bids-validator/
MIT License
1 stars 4 forks source link

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

Open yarikoptic opened 1 year ago

yarikoptic commented 1 year ago

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                                           
CPernet commented 1 year ago

866 ignored you are bad !

Remi-Gau commented 1 year ago

866 ignored you are bad !

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

yarikoptic commented 1 year ago

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