Exemplo n.º 1
0
def test_skim_gpad():
    p = GpadParser()
    p.config.ecomap = EcoMap()
    results = p.skim(open(POMBASE_GPAD, "r"))
    assert len(results) == 1984
    for r in results:
        print(str(r))
        (s, sn, o) = r
        assert o.startswith('GO:')
        assert s.startswith('PomBase:') or s.startswith('PR:')
Exemplo n.º 2
0
def test_skim():
    p = GpadParser()
    results = p.skim(open(POMBASE, "r"))
    print(str(results))