92914823931c1e330f79b91f4ff6d7f3ff397d7c,mne/morph.py,SourceMorph,apply,#SourceMorph#Any#Any#Any#Any#Any#,379

Before Change


            raise ValueError("stc_from.subject and "
                             "morph.subject_from must match. (%s != %s)" %
                             (stc.subject, self.subject_from))
        if not isinstance(output, str):
            raise TypeError("output must be str, got type %s (%s)"
                            % (type(output), output))
        out = _apply_morph_data(self, stc)
        if output != "stc":  // convert to volume
            out = _morphed_stc_as_volume(
                self, out, mri_resolution=mri_resolution, mri_space=mri_space,

After Change


        else:
            allowed_kinds = ("stc", "nifti1", "nifti2")
            extra = ""
        _check_option("output", output, allowed_kinds, extra)
        stc = copy.deepcopy(stc_from)

        mri_space = mri_resolution if mri_space is None else mri_space
        if stc.subject is None:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: mne-tools/mne-python
Commit Name: 92914823931c1e330f79b91f4ff6d7f3ff397d7c
Time: 2020-05-29
Author: larson.eric.d@gmail.com
File Name: mne/morph.py
Class Name: SourceMorph
Method Name: apply


Project Name: mne-tools/mne-python
Commit Name: 5c723e450e003b8dcae906632130ef328ad35e44
Time: 2019-04-25
Author: larson.eric.d@gmail.com
File Name: mne/utils/misc.py
Class Name:
Method Name: running_subprocess


Project Name: mne-tools/mne-python
Commit Name: 03eaec1c3bd1a11b30d052b41d8452ca3cdda58c
Time: 2020-01-30
Author: larson.eric.d@gmail.com
File Name: mne/viz/_brain/surface.py
Class Name: Surface
Method Name: __init__