scverse/anndataR

Share validation functions?

Closed this issue · 2 comments

Could the validation functions in InMemoryAnnData be moved to AbstractAnnData or somewhere else where they can be reused across classes? I feel like I was about to implement essentially the same thing for HDF5AnnData so it would be good to avoid duplicating things if we can.

👍!

If, for some reason, some of the validation functions are not applicable for one of the classes, we can still override it.

validation functions were moved to validation functions as part of #70