Beispiel #1
0
def test_parse_reversible_reactions():
    """Unit tests for parse_reversible_reactions()
     """
    df = metamoles.create_kegg_df("test_kegg_enzyme_records.txt.gz", "enzyme")
    reaction_list = metamoles.parse_reaction_ids(df)
    assert metamoles.parse_reversible_reactions(reaction_list) == reaction_list
    return
Beispiel #2
0
def test_parse_reaction_ids():
    """Unit tests for parse_reaction_ids()
    """
    df = metamoles.create_kegg_df("test_kegg_enzyme_records.txt.gz", "enzyme")
    assert metamoles.parse_reaction_ids(df) == [
        'R00623', 'R00624', 'R07328', 'R01773', 'R01775'
    ]
    return