[Bug]: File count in output includes directories #359
Labels
category: bug
errors in the code or code behavior
priority: low
alternative solution already working and/or relevant to only specific user(s)
What happened?
When the
check_unique_identifiers
issue is raised, the directory is counted as a "file" in the output lineFound 21 issues over 3 files
. This can be confusing to users (see comment dandi/dandi-cli#1266 (comment)). I'm not sure if there are other directory-level issues like this.Suggestion: change
Found 21 issues over 3 files
toFound 21 issues over 2 files and 1 directory
orFound 21 issues over 3 files and directories
Operating System
M1 macOS
Python Version
3.11
Were you streaming with ROS3?
No
Package Versions
Code of Conduct
The text was updated successfully, but these errors were encountered: