laminlabs / lamindb

A data framework for biology.
https://docs.lamin.ai
Apache License 2.0
129 stars 12 forks source link

🚸 Throw a `ValidationError` instead of `ValueError` when trying to re-assigning synonyms #2074

Closed falexwolf closed 1 month ago

falexwolf commented 1 month ago

Source: https://docs.lamin.ai/scrna2

It'd be nice to not see a traceback here:

image
falexwolf commented 1 month ago

And it'd be great if the error told to which record I cannot assign. It's raised in a loop so I have no idea which record it is.