def auto_count(self): data = self.inputs['data'].sv_get(default="not found") other = get_other_socket(self.inputs['data']) if other and data == "not found": update_system.process_to_node(other.node) data = self.inputs['data'].sv_get() leve = levelsOflist(data) if leve+1 < self.level: self.level = leve+1 result = self.beat(data, self.level) self.count = min(len(result), 16)
def auto_count(self): data = self.inputs['data'].sv_get(default="not found") other = get_other_socket(self.inputs['data']) if other and data == "not found": update_system.process_to_node(other.node) data = self.inputs['data'].sv_get() leve = levelsOflist(data) if leve + 1 < self.level: self.level = leve + 1 result = self.beat(data, self.level) self.count = min(len(result), 16)