def set_variables(self, variables, unset=''):
        """
        Set template variables and return a list with unused variables
        """

        tplvars = self.get_template_vars()
        l = []

        for e in tplvars:
            if not e in variables and len(unset) > 0:
                self.variables[e] = unset
            elif not e in variables:
                l.append(e)
            else:
                self.variables[e] = variables[e]

        return l
dataset/ETHPy150Open verbosemode/confplate/confplate/confplate.py/ConfPlate.set_variables/original