knubez / TAMS

TAMS
https://tams.readthedocs.io/
MIT License
21 stars 6 forks source link

Warning messages when no CEs #26

Open zmoon opened 6 months ago

zmoon commented 6 months ago

Currently, if an empty frame (but with the correct cols) is passed to classify, we get: ValueError: The truth value of a GeoDataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all()., which is a confusing error that doesn't make it clear what the issue actually is.

This PR also adds a warning to identify if no CEs are identified.