def getGeneticProfiles(self, study=None, study_name=None):

        study = self._getStudyId(study, study_name)

        if not study:
            raise ValueError("A study must be specified if no default is set")

        genetic_studies = self._executeQuery(command="getGeneticProfiles",
                                             args=dict(cancer_study_id=study))
        return genetic_studies
Fetches the valid genetic profiles for a particular study.
dataset/ETHPy150Open CGATOxford/cgat/CGAT/CBioPortal.py/CBioPortal.getGeneticProfiles