43eeb0e6332a9adcfd6d49f13f50d4a1b464f482,skbio/stats/ordination/tests/test_ordination.py,TestCCAResults,test_scaling2_site,#TestCCAResults#,486

Before Change


        npt.assert_almost_equal(scores.species, vegan_species, decimal=5)

    def test_scaling2_site(self):
        scores = self.ordination.scores(2)

        vegan_site = np.loadtxt(get_data_path(
            "example3_site_scaling2_from_vegan"))
        npt.assert_almost_equal(scores.site, vegan_site, decimal=4)

After Change


            "example3_species_scaling2_from_vegan"))
        npt.assert_almost_equal(scores.species, vegan_species, decimal=5)

    def test_scaling2_site(self):
        scores = cca(self.Y, self.X, self.site_ids, self.species_ids, 2)

        vegan_site = np.loadtxt(get_data_path(
            "example3_site_scaling2_from_vegan"))
        npt.assert_almost_equal(scores.site, vegan_site, decimal=4)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 7

Instances


Project Name: biocore/scikit-bio
Commit Name: 43eeb0e6332a9adcfd6d49f13f50d4a1b464f482
Time: 2015-05-13
Author: josenavasmolina@gmail.com
File Name: skbio/stats/ordination/tests/test_ordination.py
Class Name: TestCCAResults
Method Name: test_scaling2_site


Project Name: biocore/scikit-bio
Commit Name: 43eeb0e6332a9adcfd6d49f13f50d4a1b464f482
Time: 2015-05-13
Author: josenavasmolina@gmail.com
File Name: skbio/stats/ordination/tests/test_ordination.py
Class Name: TestCCAResults
Method Name: test_scaling2_site


Project Name: biocore/scikit-bio
Commit Name: 43eeb0e6332a9adcfd6d49f13f50d4a1b464f482
Time: 2015-05-13
Author: josenavasmolina@gmail.com
File Name: skbio/stats/ordination/tests/test_ordination.py
Class Name: TestCCAResults
Method Name: test_scaling1_site


Project Name: biocore/scikit-bio
Commit Name: 43eeb0e6332a9adcfd6d49f13f50d4a1b464f482
Time: 2015-05-13
Author: josenavasmolina@gmail.com
File Name: skbio/stats/ordination/tests/test_ordination.py
Class Name: TestCCAResults
Method Name: test_scaling2_species


Project Name: biocore/scikit-bio
Commit Name: 43eeb0e6332a9adcfd6d49f13f50d4a1b464f482
Time: 2015-05-13
Author: josenavasmolina@gmail.com
File Name: skbio/stats/ordination/tests/test_ordination.py
Class Name: TestCCAResults
Method Name: test_scaling1_species