trackintel
trackintel copied to clipboard
location_identifier raises key error if all staypoints are pre filtered
If the tracking quality is bad and all staypoints are pre-filtered, then the variable method_val
does not get the column purpose and therefore the line 74 raises a key error.
I think the behavior should be that the staypoints are returned with a nan-filled or empty purpose column.