At the moment it is not possible to call our generate functions when the result would be empty. I think it is an OK use-case that you try to generate a trackintel object (e.g., by using ...
This is on v1.13.0-rc1. I expect the function to be generated at the end of the file, but I've seen it breaking existing modules by generating it in the middle of existing functions.