def determineGeneListCombos(self): feature_names = self.inputs.features.get(ArgumentProcessingService.FEATURE_NAMES) if self.inputs.analysisType() is AnalysisType.NO_GENE_LISTS: return [[feature_names]] gene_lists = self.inputs.gene_lists static_features = self.inputs.static_features combos, expected_length = GeneListComboUtility.determineCombos(gene_lists, feature_names, static_features) if len(combos) != expected_length: self.log.warning("Unexpected number of combos detected, should be %s but instead created %s.\n%s", expected_length, len(combos), combos) return combos
def determineGeneListCombos(self, processed_arguments): gene_lists = processed_arguments.gene_lists feature_names = processed_arguments.features.get( ArgumentProcessingService.FEATURE_NAMES) static_features = processed_arguments.static_features combos, expected_length = GeneListComboUtility.determineCombos( gene_lists, feature_names, static_features) if len(combos) != expected_length: self.log.warning( "Unexpected number of combos detected, should be %s but instead created %s.\n%s", expected_length, len(combos), combos) return combos