def add_particles(self, sys): parts = ParticlesOverlay.add_particles(self, sys) if not hasattr(sys, "subsystem"): parts.subsystem = None return parts