comic / evalutils

evalutils helps users create extensions for grand-challenge.org
https://grand-challenge.org
MIT License
23 stars 9 forks source link

Error message for UniqueImagesValidator does not tell the user which images are duplicates #349

Closed Louisvh closed 1 year ago

Louisvh commented 1 year ago

Description

The error that UniqueImagesValidator produces doesn't tell the user which images are duplicates. This is somewhat problematic when end-users/clinicians run into the error, as finding the duplicates can turn into manual labor for people who don't know how to script this search.

jmsmkn commented 1 year ago

The error message is generated here:

https://github.com/comic/evalutils/blob/a5a9f5ee378e2a99c41a8d078adef626e7923385/evalutils/validators.py#L60-L69

You can override this exception in your own code if you like, or please feel free to submit a PR with an enhancement.