diff --git a/taxonomies/trees/process.py b/taxonomies/trees/process.py index 60d7fde..93995eb 100644 --- a/taxonomies/trees/process.py +++ b/taxonomies/trees/process.py @@ -30,7 +30,8 @@ def func(rows): lon, lat = transformer.transform(x, y) row['location-x'] = lon row['location-y'] = lat - yield row + if row['location-x'] and row['location-y']: + yield row return func def conditional(self):