spatialdata icon indicating copy to clipboard operation
spatialdata copied to clipboard

Replace some `AssertionError` with other exceptions

Open LucaMarconato opened this issue 1 year ago • 0 comments

As @jeffquinn-msk observed, assertions are ignored when the code runs in production. We should verify that no assertion is actually required for the logic of the execution, and in case they are required, replace them with other types of exception. Many assertions are used for mypy, but I see some of them are required for a correct execution, so better to look for them and replace them.

LucaMarconato avatar Mar 13 '24 22:03 LucaMarconato