def add_metadata(self, setlist):
    setlist = [util.unscalar_lex(x) for x in setlist]
    if (self.metadata is not None):
        for (key, value) in util.chop(setlist, 2):
            self.metadata[key] = value
    return None
def add_metadata(self, setlist):
    setlist = [util.unscalar_lex(x) for x in setlist]
    if (self.metadata is not None):
        for (key, value) in util.chop(setlist, 2):
            self.metadata[key] = value
    return None