keepblobs: np.array([0]) evaluates as False, so check for both non-None and len()
keepblobs: np.array([0]) evaluates as False, so check for both non-None and len()

legacysurvey/legacypipe,legacysurvey/legacypipe