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/p/y/pycogent-HEAD/tests/test_parse/test_flowgram_collection.py   pycogent(Download)
        f = FlowgramCollection(a, header_info = {'Flow Chars':'TACG'})
        fn = mktemp(suffix='.sff')
        f.writeToFile(fn)
        result = open(fn, 'U').read()
        self.assertEqual(result, """Common Header:\n  Flow Chars:\tTACG\n\n>a\n  Name Length:\t14\nBases:\tTACCCCTTGG\nFlowgram:\t0.5\t1.0\t4.0\t0.0\t1.5\t0.0\t0.0\t2.0\n\n>b\n  Name Length:\t14\nBases:\tTTATTTACCG\nFlowgram:\t1.5\t1.0\t0.0\t0.0\t2.5\t1.0\t2.0\t1.0\n""")

src/c/o/cogent-1.5.3/tests/test_parse/test_flowgram_collection.py   cogent(Download)
        f = FlowgramCollection(a, header_info = {'Flow Chars':'TACG'})
        fn = mktemp(suffix='.sff')
        f.writeToFile(fn)
        result = open(fn, 'U').read()
        self.assertEqual(result, """Common Header:\n  Flow Chars:\tTACG\n\n>a\n  Name Length:\t14\nBases:\tTACCCCTTGG\nFlowgram:\t0.5\t1.0\t4.0\t0.0\t1.5\t0.0\t0.0\t2.0\n\n>b\n  Name Length:\t14\nBases:\tTTATTTACCG\nFlowgram:\t1.5\t1.0\t0.0\t0.0\t2.5\t1.0\t2.0\t1.0\n""")

src/q/i/qiime-1.8.0/tests/test_denoise_wrapper.py   qiime(Download)
        self.sff_path = get_tmp_filename(
            prefix='DenoiseWrapperTest_', suffix='.sff.txt')
        self.large_flowgram_collection.writeToFile(self.sff_path)
 
        self.sff_path2 = get_tmp_filename(