laminlabs / lamindb

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

🚸 Clearer ValidationError in Curator when categoricals contains inexistent columns #2209

Open falexwolf opened 4 days ago

falexwolf commented 4 days ago

Currently it only says this:

ValidationError: the following keys passed to categoricals are not allowed: ['cell_type_by_expert', 'cell_type_by_model']

It took me a while to realize that my AnnData didn't have these two columns in .obs.