def _get_studies_from_disease_name(disease_name): study_prefixes = cbio_efo_map.get(disease_name) if study_prefixes is None: return None study_ids = [] for sp in study_prefixes: study_ids += cbio_client.get_cancer_studies(sp) return list(set(study_ids))
def test_get_cancer_studies(): study_ids = cbio_client.get_cancer_studies('paad') assert(len(study_ids) > 0) assert('paad_tcga' in study_ids)
def test_get_cancer_studies(): study_ids = cbio_client.get_cancer_studies('paad') assert len(study_ids) > 0 assert 'paad_tcga' in study_ids