Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/m/d/MDAnalysisTests-0.8.1/MDAnalysisTests/test_atomgroup.py   MDAnalysisTests(Download)
    def test_load_new(self):
        u = MDAnalysis.Universe(PSF, DCD)
        u.load_new(PDB_small)
        assert_equal(len(u.trajectory), 1, "Failed to load_new(PDB)")
 
    def test_load_new_strict(self):
        u = MDAnalysis.Universe(PSF, DCD)
        u.load_new(PDB_small, permissive=False)
    def test_load_new_permissive(self):
        u = MDAnalysis.Universe(PSF, DCD)
        u.load_new(PDB_small, permissive=True)
        assert_equal(len(u.trajectory), 1, "Failed to load_new(PDB, permissive=True)")