laminlabs / lamindb

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

🚸 Raise a `ValidationError` rather than a `ValueError` #2072

Closed falexwolf closed 1 month ago

falexwolf commented 1 month ago

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

I'm using an invalid feature name here (it should be cell_type_untrusted rather than cell_type).

I don't want to see a traceback, so throwing a ValidationError would be nice.

image