27aebd9429cd624a0dada25b9685ffc7af444919,integration_test/process.py,,execute_and_capture,#Any#Any#,37
Before Change
:rtype: (int, str or unicode)
:raises OSError: if there are problems running the command
command_line = [command]
command_line.extend(arguments)
print((" ".join(command_line)))
try:
result = check_output(command_line, stderr=STDOUT)
return (0, str(result))
except CalledProcessError as error:
return (error.returncode, str(error.output))
After Change
result = execute(command, arguments,
stdout=stdouterr, stderr=stdouterr)
stdouterr.seek(0)
log = stdouterr.readlines()
return (result, log)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances Project Name: recipy/recipy
Commit Name: 27aebd9429cd624a0dada25b9685ffc7af444919
Time: 2016-09-22
Author: michaelj@epcc.ed.ac.uk
File Name: integration_test/process.py
Class Name:
Method Name: execute_and_capture
Project Name: NeuroTechX/moabb
Commit Name: 8d66949a4703a04df75e8ab836c9eb22c26ecc09
Time: 2018-04-03
Author: alexandre.barachant@gmail.com
File Name: moabb/datasets/bnci.py
Class Name:
Method Name: _load_data_001_2014
Project Name: NeuroTechX/moabb
Commit Name: 8d66949a4703a04df75e8ab836c9eb22c26ecc09
Time: 2018-04-03
Author: alexandre.barachant@gmail.com
File Name: moabb/datasets/bnci.py
Class Name:
Method Name: _load_data_001_2015
Project Name: gyoisamurai/GyoiThon
Commit Name: 8c187989b286c5b50d61c0c49ccb36f98ec25c92
Time: 2019-04-25
Author: gyoiler3@gmail.com
File Name: modules/Gyoi_Inventory.py
Class Name: Inventory
Method Name: link_explorer