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

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

src/n/e/NeuroTools-0.2.0/test/test_spikes.py   NeuroTools(Download)
    def testSaveAndLoadTxtIdsPartInt(self):
        file = io.StandardTextFile("tmp.txt")
        self.spk.save(file)
        spk2 = spikes.load_spikelist(file, id_list=5)
        assert numpy.all(spk2.id_list == [0,1,2,3,4])