5c723e450e003b8dcae906632130ef328ad35e44,mne/utils/misc.py,,running_subprocess,#Any#Any#Any#,123

Before Change


    p : instance of Popen
        The process.
    
    if after not in ["wait", "terminate"]:
        raise ValueError("The argument ""after"" must be one"
                         " of ""wait"" or ""terminate"", got %s" % after)
    for stdxxx, sys_stdxxx, thresh in (
            ["stderr", sys.stderr, logging.ERROR],
            ["stdout", sys.stdout, logging.WARNING]):
        if stdxxx not in kwargs and logger.level >= thresh:

After Change


        The process.
    
    _validate_type(after, str, "after")
    _check_option("after", after, ["wait", "terminate"])
    for stdxxx, sys_stdxxx, thresh in (
            ["stderr", sys.stderr, logging.ERROR],
            ["stdout", sys.stdout, logging.WARNING]):
        if stdxxx not in kwargs and logger.level >= thresh:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


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: 4ff3bad13ac4a37fe0c15128d41adc789a9ca510
Time: 2019-05-17
Author: larson.eric.d@gmail.com
File Name: mne/datasets/hf_sef/hf_sef.py
Class Name:
Method Name: data_path


Project Name: mne-tools/mne-python
Commit Name: 9e0e02fa2f5995d4a41cb539fe1813a2e4b9d649
Time: 2020-04-28
Author: larson.eric.d@gmail.com
File Name: mne/utils/_logging.py
Class Name:
Method Name: set_log_level