示例#1
0
def test_tree_prefixes():
    assert mesh_client.is_disease('D009369')
    assert mesh_client.is_enzyme('D005979')
    assert mesh_client.is_molecular('D000077484')
    assert mesh_client.is_protein('D004815')
示例#2
0
def is_protein(mesh_id):
    return mesh_client.is_protein(mesh_id) or mesh_client.is_enzyme(mesh_id)