def test_c2d(): # asthma drugs = condition_to_drug(asthma) print(str(drugs)) # ephedrine assert 'CHEBI:15407' in drugs assert (len(drugs) > 0)
def get(self, id): """ Returns substances associated with a disease. e.g. drugs or small molecules used to treat """ return condition_to_drug(id)