5bb577eb329d5c1f6b6b7dddad248b1d657bcbcd,tests/labelme_tests/test_app.py,,test_MainWindow_open_json,#Any#,21
Before Change
def test_MainWindow_open_json(qtbot):
filename = osp.join(data_dir, "apc2016_obj3.json")
labelme.testing.assert_labelfile_sanity(filename)
win = labelme.app.MainWindow(filename=filename)
qtbot.addWidget(win)
win.show()
win.close()
def test_MainWindow_annotate_jpg(qtbot):
tmp_dir = tempfile.mkdtemp()
After Change
for json_file in json_files:
labelme.testing.assert_labelfile_sanity(json_file)
win = labelme.app.MainWindow(filename=json_file)
qtbot.addWidget(win)
_win_show_and_wait_imageData(qtbot, win)
win.close()
def test_MainWindow_open_dir(qtbot):
directory = osp.join(data_dir, "raw")
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 4
Instances
Project Name: wkentaro/labelme
Commit Name: 5bb577eb329d5c1f6b6b7dddad248b1d657bcbcd
Time: 2020-02-06
Author: www.kentaro.wada@gmail.com
File Name: tests/labelme_tests/test_app.py
Class Name:
Method Name: test_MainWindow_open_json
Project Name: uber/ludwig
Commit Name: 9de6ee32f0e2e6cc6157f0772aa8c28a8d662fe8
Time: 2019-02-01
Author: w4nderlust@gmail.com
File Name: ludwig/models/model.py
Class Name: Model
Method Name: batch_evaluation
Project Name: ClimbsRocks/auto_ml
Commit Name: 82163919065afede72161039c6ff65616fc91031
Time: 2017-12-15
Author: ClimbsBytes@gmail.com
File Name: auto_ml/utils_data_cleaning.py
Class Name: BasicDataCleaning
Method Name: transform
Project Name: NervanaSystems/nlp-architect
Commit Name: 3b27baf2719698ffe600ff3d33b10c04d2e39f33
Time: 2018-07-16
Author: jonathan.mamou@intel.com
File Name: solutions/set_expansion/prepare_data.py
Class Name:
Method Name:
Project Name: ClimbsRocks/auto_ml
Commit Name: 343a835a26b6fbf1b7bd62965b74ed2d688319a5
Time: 2016-12-08
Author: ClimbsBytes@gmail.com
File Name: auto_ml/utils_ensemble.py
Class Name: Ensemble
Method Name: get_all_predictions