aa36a3b478975e0226679f3daffc20f9b074daa0,Orange/widgets/data/tests/test_owoutliers.py,TestOWOutliers,test_nans,#TestOWOutliers#,56
Before Change
Widget does not crash with nans
a = np.arange(20, dtype=float).reshape(4, 5)
a[0, 0] = np.nan
data = Table.from_numpy(None, a)
self.send_signal(self.widget.Inputs.data, data)
self.assertIsNot(self.get_output(self.widget.Outputs.inliers), None)
def test_in_out_summary(self):
After Change
simulate.combobox_activate_index(self.widget.method_combo,
self.widget.Covariance)
self.assertIsNotNone(self.get_output(self.widget.Outputs.inliers))
self.assertFalse(self.widget.Error.singular_cov.is_shown())
def test_in_out_summary(self):
info = self.widget.info
self.assertEqual(info._StateInfo__input_summary.brief, "")
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances Project Name: biolab/orange3
Commit Name: aa36a3b478975e0226679f3daffc20f9b074daa0
Time: 2020-01-28
Author: tankovesna@hotmail.com
File Name: Orange/widgets/data/tests/test_owoutliers.py
Class Name: TestOWOutliers
Method Name: test_nans
Project Name: catalyst-team/catalyst
Commit Name: 1ef3ad90a3423ed15ca41e0ea4e81012ebe84a9f
Time: 2020-08-11
Author: scitator@gmail.com
File Name: catalyst/data/scripts/project_embeddings.py
Class Name:
Method Name: main
Project Name: kengz/SLM-Lab
Commit Name: 861657d2c9b321961994c8cdd0e58b6c4fe0645f
Time: 2018-09-03
Author: kengzwl@gmail.com
File Name: slm_lab/agent/algorithm/math_util.py
Class Name:
Method Name: calc_returns
Project Name: CSAILVision/semantic-segmentation-pytorch
Commit Name: 71c559e66eaff89089fa447a3d7e04b6835356cf
Time: 2019-08-02
Author: zhaohang0124@gmail.com
File Name: dataset.py
Class Name: ValDataset
Method Name: __getitem__
Project Name: interactiveaudiolab/nussl
Commit Name: de818ac08ac87a929dd341f90c79bc3a06852c45
Time: 2020-03-07
Author: prem@u.northwestern.edu
File Name: tests/evaluation/test_evaluation.py
Class Name:
Method Name: test_scale_bss_eval