

def __init__(self, lh, rh, name=None, color=None):
    if (lh.subject != rh.subject):
        raise ValueError(('lh.subject (%s) and rh.subject (%s) must agree' % (lh.subject, rh.subject)))
    self.lh = lh
    self.rh = rh
    self.name = name
    self.subject = lh.subject
    self.color = color
    self.hemi = 'both'

dataset/ETHPy150Open mne-tools/mne-python/mne/label.py BiHemiLabel.__init__/original