def removeTag(self, tag):
        if not isinstance(tag, int):
            raise InvalidTagError('Non int tag given: (%s):%s' % (type(tag), tag))
        if tag not in self._tags:
            raise TagNotFoundError('Trying to remove non existent tag: %s' % tag)

        return self._tags.remove(tag)
Convert forward solution matrices to dicts
dataset/ETHPy150Open jookies/jasmin/jasmin/routing/Routables.py/Routable.removeTag--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/forward/_make_forward.py/_to_forward_dict