From a88fb8fd5b5ad0f48e8b9f2d0c3057b0c6515263 Mon Sep 17 00:00:00 2001 From: OganM Date: Tue, 9 Jul 2024 22:07:49 -0700 Subject: [PATCH] regen sdk --- gemmapy/sdk/__init__.py | 15 +- gemmapy/sdk/api/default_api.py | 1991 ++++++++++++----- gemmapy/sdk/api_client.py | 4 +- gemmapy/sdk/configuration.py | 4 +- gemmapy/sdk/models/__init__.py | 15 +- .../annotation_search_result_value_object.py | 2 +- gemmapy/sdk/models/annotation_value_object.py | 2 +- ...tion_with_usage_statistics_value_object.py | 2 +- gemmapy/sdk/models/api_info_value_object.py | 114 +- .../sdk/models/array_design_value_object.py | 50 +- ...sign_with_usage_statistics_value_object.py | 2 +- .../sdk/models/audit_event_value_object.py | 2 +- .../bibliographic_phenotypes_value_object.py | 2 +- .../bibliographic_reference_value_object.py | 2 +- gemmapy/sdk/models/bio_assay_value_object.py | 2 +- .../sdk/models/bio_material_value_object.py | 2 +- .../sdk/models/bio_sequence_value_object.py | 2 +- gemmapy/sdk/models/build_info_value_object.py | 162 ++ ...gory_with_usage_statistics_value_object.py | 2 +- .../sdk/models/characteristic_value_object.py | 2 +- gemmapy/sdk/models/citation_value_object.py | 2 +- gemmapy/sdk/models/composite_sequence_arg.py | 2 +- .../models/composite_sequence_value_object.py | 2 +- .../models/contrast_result_value_object.py | 2 +- gemmapy/sdk/models/database_entry_arg.py | 2 +- .../sdk/models/database_entry_value_object.py | 2 +- gemmapy/sdk/models/dataset.py | 2 +- gemmapy/sdk/models/dataset1.py | 2 +- gemmapy/sdk/models/dataset10.py | 2 +- gemmapy/sdk/models/dataset11.py | 84 + gemmapy/sdk/models/dataset2.py | 2 +- gemmapy/sdk/models/dataset3.py | 2 +- gemmapy/sdk/models/dataset4.py | 2 +- gemmapy/sdk/models/dataset5.py | 2 +- gemmapy/sdk/models/dataset6.py | 2 +- gemmapy/sdk/models/dataset7.py | 2 +- gemmapy/sdk/models/dataset8.py | 2 +- gemmapy/sdk/models/dataset9.py | 2 +- gemmapy/sdk/models/dataset_arg.py | 2 +- ...diff_ex_result_set_summary_value_object.py | 2 +- ...on_analysis_result_by_gene_value_object.py | 422 ++++ ...ession_analysis_result_set_value_object.py | 2 +- ...expression_analysis_result_value_object.py | 2 +- ...ential_expression_analysis_value_object.py | 2 +- ...periment_expression_levels_value_object.py | 2 +- .../experimental_factor_value_object.py | 158 +- .../expression_experiment_set_value_object.py | 2 +- .../expression_experiment_value_object.py | 2 +- ...eriment_with_search_result_value_object.py | 2 +- .../models/external_database_value_object.py | 2 +- .../models/factor_value_basic_value_object.py | 2 +- .../sdk/models/factor_value_value_object.py | 2 +- gemmapy/sdk/models/filter_arg_array_design.py | 2 +- ...lter_arg_expression_analysis_result_set.py | 2 +- .../filter_arg_expression_experiment.py | 2 +- ...ject_expression_experiment_value_object.py | 2 +- ...e_data_object_array_design_value_object.py | 2 +- ..._object_composite_sequence_value_object.py | 2 +- ...ession_analysis_result_set_value_object.py | 2 +- ...ject_expression_experiment_value_object.py | 2 +- ..._response_data_object_gene_value_object.py | 2 +- gemmapy/sdk/models/geeq_value_object.py | 2 +- gemmapy/sdk/models/gene.py | 2 +- gemmapy/sdk/models/gene1.py | 2 +- gemmapy/sdk/models/gene2.py | 2 +- gemmapy/sdk/models/gene3.py | 2 +- gemmapy/sdk/models/gene4.py | 2 +- gemmapy/sdk/models/gene5.py | 2 +- gemmapy/sdk/models/{taxa.py => gene6.py} | 10 +- gemmapy/sdk/models/gene7.py | 84 + gemmapy/sdk/models/gene8.py | 84 + gemmapy/sdk/models/gene9.py | 84 + gemmapy/sdk/models/gene_arg.py | 2 +- .../gene_element_expressions_value_object.py | 2 +- .../models/gene_ontology_term_value_object.py | 2 +- gemmapy/sdk/models/gene_set_value_object.py | 2 +- gemmapy/sdk/models/gene_value_object.py | 2 +- .../sdk/models/measurement_value_object.py | 2 +- ...esult_value_object_object_result_object.py | 2 +- .../sdk/models/ontology_term_value_object.py | 2 +- ..._object_composite_sequence_value_object.py | 2 +- ...periment_expression_levels_value_object.py | 240 ++ ...ject_expression_experiment_value_object.py | 2 +- ..._response_data_object_gene_value_object.py | 2 +- ...ession_analysis_result_set_value_object.py | 2 +- .../models/physical_location_value_object.py | 2 +- gemmapy/sdk/models/platform.py | 2 +- gemmapy/sdk/models/platform1.py | 2 +- gemmapy/sdk/models/platform2.py | 2 +- gemmapy/sdk/models/platform3.py | 2 +- gemmapy/sdk/models/platform4.py | 2 +- gemmapy/sdk/models/platform5.py | 2 +- gemmapy/sdk/models/platform_arg.py | 2 +- gemmapy/sdk/models/probe.py | 2 +- gemmapy/sdk/models/quantitation_type.py | 2 +- gemmapy/sdk/models/quantitation_type_arg.py | 2 +- .../models/quantitation_type_value_object.py | 2 +- ...tion_with_usage_statistics_value_object.py | 2 +- ...sign_with_usage_statistics_value_object.py | 2 +- ...gory_with_usage_statistics_value_object.py | 2 +- ...on_analysis_result_by_gene_value_object.py | 318 +++ ...eriment_with_search_result_value_object.py | 2 +- ...axon_with_usage_statistics_value_object.py | 2 +- ...ject_expression_experiment_value_object.py | 2 +- gemmapy/sdk/models/query_arg.py | 2 +- ...ponse_data_object_api_info_value_object.py | 2 +- ...t_annotation_search_result_value_object.py | 2 +- ...a_object_list_array_design_value_object.py | 2 +- ...data_object_list_bio_assay_value_object.py | 2 +- ...ential_expression_analysis_value_object.py | 2 +- ...periment_expression_levels_value_object.py | 2 +- ...ct_list_gene_ontology_term_value_object.py | 2 +- ...onse_data_object_list_gene_value_object.py | 2 +- ...ect_list_physical_location_value_object.py | 2 +- ...nse_data_object_list_taxon_value_object.py | 2 +- .../sdk/models/response_data_object_long.py | 2 +- ...data_object_set_annotation_value_object.py | 2 +- ...ject_set_quantitation_type_value_object.py | 2 +- ...nse_data_object_simple_svd_value_object.py | 2 +- gemmapy/sdk/models/response_error_object.py | 34 +- gemmapy/sdk/models/search_result_type.py | 2 +- ...ject_expression_experiment_value_object.py | 2 +- .../search_result_value_object_object.py | 2 +- .../search_results_response_data_object.py | 2 +- .../models/search_settings_value_object.py | 2 +- gemmapy/sdk/models/simple_svd_value_object.py | 2 +- gemmapy/sdk/models/sort_arg_array_design.py | 2 +- ...sort_arg_expression_analysis_result_set.py | 2 +- .../models/sort_arg_expression_experiment.py | 2 +- gemmapy/sdk/models/sort_value_object.py | 2 +- gemmapy/sdk/models/statement_value_object.py | 2 +- gemmapy/sdk/models/taxon.py | 2 +- gemmapy/sdk/models/taxon1.py | 2 +- gemmapy/sdk/models/taxon10.py | 84 + gemmapy/sdk/models/taxon11.py | 84 + gemmapy/sdk/models/taxon12.py | 84 + gemmapy/sdk/models/taxon2.py | 2 +- gemmapy/sdk/models/taxon3.py | 2 +- gemmapy/sdk/models/taxon4.py | 2 +- gemmapy/sdk/models/taxon5.py | 2 +- gemmapy/sdk/models/taxon6.py | 2 +- gemmapy/sdk/models/taxon7.py | 2 +- gemmapy/sdk/models/taxon8.py | 2 +- gemmapy/sdk/models/taxon9.py | 2 +- gemmapy/sdk/models/taxon_arg.py | 2 +- gemmapy/sdk/models/taxon_value_object.py | 2 +- ...axon_with_usage_statistics_value_object.py | 2 +- .../sdk/models/vector_element_value_object.py | 2 +- .../sdk/models/well_composed_error_body.py | 2 +- gemmapy/sdk/rest.py | 2 +- sdk-gen/openapi.yaml | 1328 ++++++++--- setup.cfg | 2 +- 152 files changed, 4535 insertions(+), 1178 deletions(-) create mode 100644 gemmapy/sdk/models/build_info_value_object.py create mode 100644 gemmapy/sdk/models/dataset11.py create mode 100644 gemmapy/sdk/models/differential_expression_analysis_result_by_gene_value_object.py rename gemmapy/sdk/models/{taxa.py => gene6.py} (93%) create mode 100644 gemmapy/sdk/models/gene7.py create mode 100644 gemmapy/sdk/models/gene8.py create mode 100644 gemmapy/sdk/models/gene9.py create mode 100644 gemmapy/sdk/models/paginated_response_data_object_experiment_expression_levels_value_object.py create mode 100644 gemmapy/sdk/models/queried_and_filtered_and_inferred_and_paginated_response_data_object_differential_expression_analysis_result_by_gene_value_object.py create mode 100644 gemmapy/sdk/models/taxon10.py create mode 100644 gemmapy/sdk/models/taxon11.py create mode 100644 gemmapy/sdk/models/taxon12.py diff --git a/gemmapy/sdk/__init__.py b/gemmapy/sdk/__init__.py index 47199e4..f250b6a 100644 --- a/gemmapy/sdk/__init__.py +++ b/gemmapy/sdk/__init__.py @@ -7,7 +7,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -32,6 +32,7 @@ from gemmapy.sdk.models.bio_assay_value_object import BioAssayValueObject from gemmapy.sdk.models.bio_material_value_object import BioMaterialValueObject from gemmapy.sdk.models.bio_sequence_value_object import BioSequenceValueObject +from gemmapy.sdk.models.build_info_value_object import BuildInfoValueObject from gemmapy.sdk.models.category_with_usage_statistics_value_object import CategoryWithUsageStatisticsValueObject from gemmapy.sdk.models.characteristic_value_object import CharacteristicValueObject from gemmapy.sdk.models.citation_value_object import CitationValueObject @@ -43,6 +44,7 @@ from gemmapy.sdk.models.dataset import Dataset from gemmapy.sdk.models.dataset1 import Dataset1 from gemmapy.sdk.models.dataset10 import Dataset10 +from gemmapy.sdk.models.dataset11 import Dataset11 from gemmapy.sdk.models.dataset2 import Dataset2 from gemmapy.sdk.models.dataset3 import Dataset3 from gemmapy.sdk.models.dataset4 import Dataset4 @@ -53,6 +55,7 @@ from gemmapy.sdk.models.dataset9 import Dataset9 from gemmapy.sdk.models.dataset_arg import DatasetArg from gemmapy.sdk.models.diff_ex_result_set_summary_value_object import DiffExResultSetSummaryValueObject +from gemmapy.sdk.models.differential_expression_analysis_result_by_gene_value_object import DifferentialExpressionAnalysisResultByGeneValueObject from gemmapy.sdk.models.differential_expression_analysis_result_set_value_object import DifferentialExpressionAnalysisResultSetValueObject from gemmapy.sdk.models.differential_expression_analysis_result_value_object import DifferentialExpressionAnalysisResultValueObject from gemmapy.sdk.models.differential_expression_analysis_value_object import DifferentialExpressionAnalysisValueObject @@ -80,6 +83,10 @@ from gemmapy.sdk.models.gene3 import Gene3 from gemmapy.sdk.models.gene4 import Gene4 from gemmapy.sdk.models.gene5 import Gene5 +from gemmapy.sdk.models.gene6 import Gene6 +from gemmapy.sdk.models.gene7 import Gene7 +from gemmapy.sdk.models.gene8 import Gene8 +from gemmapy.sdk.models.gene9 import Gene9 from gemmapy.sdk.models.gene_arg import GeneArg from gemmapy.sdk.models.gene_element_expressions_value_object import GeneElementExpressionsValueObject from gemmapy.sdk.models.gene_ontology_term_value_object import GeneOntologyTermValueObject @@ -89,6 +96,7 @@ from gemmapy.sdk.models.one_of_search_result_value_object_object_result_object import OneOfSearchResultValueObjectObjectResultObject from gemmapy.sdk.models.ontology_term_value_object import OntologyTermValueObject from gemmapy.sdk.models.paginated_response_data_object_composite_sequence_value_object import PaginatedResponseDataObjectCompositeSequenceValueObject +from gemmapy.sdk.models.paginated_response_data_object_experiment_expression_levels_value_object import PaginatedResponseDataObjectExperimentExpressionLevelsValueObject from gemmapy.sdk.models.paginated_response_data_object_expression_experiment_value_object import PaginatedResponseDataObjectExpressionExperimentValueObject from gemmapy.sdk.models.paginated_response_data_object_gene_value_object import PaginatedResponseDataObjectGeneValueObject from gemmapy.sdk.models.paginated_results_response_data_object_differential_expression_analysis_result_set_value_object import PaginatedResultsResponseDataObjectDifferentialExpressionAnalysisResultSetValueObject @@ -107,6 +115,7 @@ from gemmapy.sdk.models.queried_and_filtered_and_inferred_and_limited_response_data_object_annotation_with_usage_statistics_value_object import QueriedAndFilteredAndInferredAndLimitedResponseDataObjectAnnotationWithUsageStatisticsValueObject from gemmapy.sdk.models.queried_and_filtered_and_inferred_and_limited_response_data_object_array_design_with_usage_statistics_value_object import QueriedAndFilteredAndInferredAndLimitedResponseDataObjectArrayDesignWithUsageStatisticsValueObject from gemmapy.sdk.models.queried_and_filtered_and_inferred_and_limited_response_data_object_category_with_usage_statistics_value_object import QueriedAndFilteredAndInferredAndLimitedResponseDataObjectCategoryWithUsageStatisticsValueObject +from gemmapy.sdk.models.queried_and_filtered_and_inferred_and_paginated_response_data_object_differential_expression_analysis_result_by_gene_value_object import QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject from gemmapy.sdk.models.queried_and_filtered_and_inferred_and_paginated_response_data_object_expression_experiment_with_search_result_value_object import QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectExpressionExperimentWithSearchResultValueObject from gemmapy.sdk.models.queried_and_filtered_and_inferred_response_data_object_taxon_with_usage_statistics_value_object import QueriedAndFilteredAndInferredResponseDataObjectTaxonWithUsageStatisticsValueObject from gemmapy.sdk.models.queried_and_filtered_and_paginated_response_data_object_expression_experiment_value_object import QueriedAndFilteredAndPaginatedResponseDataObjectExpressionExperimentValueObject @@ -137,9 +146,11 @@ from gemmapy.sdk.models.sort_arg_expression_experiment import SortArgExpressionExperiment from gemmapy.sdk.models.sort_value_object import SortValueObject from gemmapy.sdk.models.statement_value_object import StatementValueObject -from gemmapy.sdk.models.taxa import Taxa from gemmapy.sdk.models.taxon import Taxon from gemmapy.sdk.models.taxon1 import Taxon1 +from gemmapy.sdk.models.taxon10 import Taxon10 +from gemmapy.sdk.models.taxon11 import Taxon11 +from gemmapy.sdk.models.taxon12 import Taxon12 from gemmapy.sdk.models.taxon2 import Taxon2 from gemmapy.sdk.models.taxon3 import Taxon3 from gemmapy.sdk.models.taxon4 import Taxon4 diff --git a/gemmapy/sdk/api/default_api.py b/gemmapy/sdk/api/default_api.py index 4f6a8e4..bf7c18f 100644 --- a/gemmapy/sdk/api/default_api.py +++ b/gemmapy/sdk/api/default_api.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -35,17 +35,19 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client - def get_api_info(self, **kwargs): # noqa: E501 - """Retrieve an object with basic API information # noqa: E501 + def get_annotations_children(self, **kwargs): # noqa: E501 + """Retrieve the children of the given annotations # noqa: E501 - The payload contains a list of featured external databases that Gemma uses under the `externalDatabases` field. Those are mainly genomic references and sources of gene annotations. # noqa: E501 + Terms that are returned satisfies the [inverse of rdfs:subClassOf](https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/#Subclass_Axioms) or [has_part](http://purl.obolibrary.org/obo/BFO_0000051) relations. When `direct` is set to false, this rule is applied recursively. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api_info(async_req=True) + >>> thread = api.get_annotations_children(async_req=True) >>> result = thread.get() :param async_req bool - :return: ResponseDataObjectApiInfoValueObject + :param str uri: Term URI + :param bool direct: Only include direct parents. + :return: list[AnnotationSearchResultValueObject] If the method is called asynchronously, returns the request thread. """ @@ -57,9 +59,9 @@ def get_api_info(self, **kwargs): # noqa: E501 while True: try: if kwargs.get('async_req'): - return self.get_api_info_with_http_info(**kwargs) # noqa: E501 + return self.get_annotations_children_with_http_info(**kwargs) # noqa: E501 else: - (data) = self.get_api_info_with_http_info(**kwargs) # noqa: E501 + (data) = self.get_annotations_children_with_http_info(**kwargs) # noqa: E501 return data except ApiException as err: if err.status in [429,500] and attempts < 2: @@ -68,22 +70,24 @@ def get_api_info(self, **kwargs): # noqa: E501 else: raise err - def get_api_info_with_http_info(self, **kwargs): # noqa: E501 - """Retrieve an object with basic API information # noqa: E501 + def get_annotations_children_with_http_info(self, **kwargs): # noqa: E501 + """Retrieve the children of the given annotations # noqa: E501 - The payload contains a list of featured external databases that Gemma uses under the `externalDatabases` field. Those are mainly genomic references and sources of gene annotations. # noqa: E501 + Terms that are returned satisfies the [inverse of rdfs:subClassOf](https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/#Subclass_Axioms) or [has_part](http://purl.obolibrary.org/obo/BFO_0000051) relations. When `direct` is set to false, this rule is applied recursively. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api_info_with_http_info(async_req=True) + >>> thread = api.get_annotations_children_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool - :return: ResponseDataObjectApiInfoValueObject + :param str uri: Term URI + :param bool direct: Only include direct parents. + :return: list[AnnotationSearchResultValueObject] If the method is called asynchronously, returns the request thread. """ - all_params = [] # noqa: E501 + all_params = ['uri', 'direct'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -96,7 +100,7 @@ def get_api_info_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_api_info" % key + " to method get_annotations_children" % key ) params[key] = val del params['kwargs'] @@ -106,6 +110,10 @@ def get_api_info_with_http_info(self, **kwargs): # noqa: E501 path_params = {} query_params = [] + if 'uri' in params: + query_params.append(('uri', params['uri'])) # noqa: E501 + if 'direct' in params: + query_params.append(('direct', params['direct'])) # noqa: E501 header_params = {} @@ -117,7 +125,7 @@ def get_api_info_with_http_info(self, **kwargs): # noqa: E501 if not kwargs.get('_force_table'): header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 - response_type = 'ResponseDataObjectApiInfoValueObject' # noqa: E501 + response_type = 'list[AnnotationSearchResultValueObject]' # noqa: E501 else: header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' response_type = 'str' @@ -127,7 +135,7 @@ def get_api_info_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 return self.api_client.call_api( - '/', 'GET', + '/annotations/children', 'GET', path_params, query_params, header_params, @@ -142,17 +150,19 @@ def get_api_info_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_dataset_annotations(self, dataset, **kwargs): # noqa: E501 - """Retrieve the annotations of a dataset # noqa: E501 + def get_annotations_parents(self, **kwargs): # noqa: E501 + """Retrieve the parents of the given annotations # noqa: E501 + Terms that are returned satisfies the [rdfs:subClassOf](https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/#Subclass_Axioms) or [part_of](http://purl.obolibrary.org/obo/BFO_0000050) relations. When `direct` is set to false, this rule is applied recursively. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_annotations(dataset, async_req=True) + >>> thread = api.get_annotations_parents(async_req=True) >>> result = thread.get() :param async_req bool - :param Dataset dataset: (required) - :return: ResponseDataObjectSetAnnotationValueObject + :param str uri: Term URI + :param bool direct: Only include direct children. + :return: list[AnnotationSearchResultValueObject] If the method is called asynchronously, returns the request thread. """ @@ -164,9 +174,9 @@ def get_dataset_annotations(self, dataset, **kwargs): # noqa: E501 while True: try: if kwargs.get('async_req'): - return self.get_dataset_annotations_with_http_info(dataset, **kwargs) # noqa: E501 + return self.get_annotations_parents_with_http_info(**kwargs) # noqa: E501 else: - (data) = self.get_dataset_annotations_with_http_info(dataset, **kwargs) # noqa: E501 + (data) = self.get_annotations_parents_with_http_info(**kwargs) # noqa: E501 return data except ApiException as err: if err.status in [429,500] and attempts < 2: @@ -175,22 +185,24 @@ def get_dataset_annotations(self, dataset, **kwargs): # noqa: E501 else: raise err - def get_dataset_annotations_with_http_info(self, dataset, **kwargs): # noqa: E501 - """Retrieve the annotations of a dataset # noqa: E501 + def get_annotations_parents_with_http_info(self, **kwargs): # noqa: E501 + """Retrieve the parents of the given annotations # noqa: E501 + Terms that are returned satisfies the [rdfs:subClassOf](https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/#Subclass_Axioms) or [part_of](http://purl.obolibrary.org/obo/BFO_0000050) relations. When `direct` is set to false, this rule is applied recursively. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_annotations_with_http_info(dataset, async_req=True) + >>> thread = api.get_annotations_parents_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool - :param Dataset dataset: (required) - :return: ResponseDataObjectSetAnnotationValueObject + :param str uri: Term URI + :param bool direct: Only include direct children. + :return: list[AnnotationSearchResultValueObject] If the method is called asynchronously, returns the request thread. """ - all_params = ['dataset'] # noqa: E501 + all_params = ['uri', 'direct'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -203,22 +215,20 @@ def get_dataset_annotations_with_http_info(self, dataset, **kwargs): # noqa: E5 if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_dataset_annotations" % key + " to method get_annotations_parents" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'dataset' is set - if ('dataset' not in params or - params['dataset'] is None): - raise ValueError("Missing the required parameter `dataset` when calling `get_dataset_annotations`") # noqa: E501 collection_formats = {} path_params = {} - if 'dataset' in params: - path_params['dataset'] = params['dataset'] # noqa: E501 query_params = [] + if 'uri' in params: + query_params.append(('uri', params['uri'])) # noqa: E501 + if 'direct' in params: + query_params.append(('direct', params['direct'])) # noqa: E501 header_params = {} @@ -230,7 +240,7 @@ def get_dataset_annotations_with_http_info(self, dataset, **kwargs): # noqa: E5 if not kwargs.get('_force_table'): header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 - response_type = 'ResponseDataObjectSetAnnotationValueObject' # noqa: E501 + response_type = 'list[AnnotationSearchResultValueObject]' # noqa: E501 else: header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' response_type = 'str' @@ -240,7 +250,7 @@ def get_dataset_annotations_with_http_info(self, dataset, **kwargs): # noqa: E5 auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 return self.api_client.call_api( - '/datasets/{dataset}/annotations', 'GET', + '/annotations/parents', 'GET', path_params, query_params, header_params, @@ -255,17 +265,17 @@ def get_dataset_annotations_with_http_info(self, dataset, **kwargs): # noqa: E5 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_dataset_design(self, dataset, **kwargs): # noqa: E501 - """Retrieve the design of a dataset # noqa: E501 + def get_api_info(self, **kwargs): # noqa: E501 + """Retrieve an object with basic API information # noqa: E501 + The payload contains a list of featured external databases that Gemma uses under the `externalDatabases` field. Those are mainly genomic references and sources of gene annotations. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_design(dataset, async_req=True) + >>> thread = api.get_api_info(async_req=True) >>> result = thread.get() :param async_req bool - :param Dataset1 dataset: (required) - :return: str + :return: ResponseDataObjectApiInfoValueObject If the method is called asynchronously, returns the request thread. """ @@ -277,9 +287,9 @@ def get_dataset_design(self, dataset, **kwargs): # noqa: E501 while True: try: if kwargs.get('async_req'): - return self.get_dataset_design_with_http_info(dataset, **kwargs) # noqa: E501 + return self.get_api_info_with_http_info(**kwargs) # noqa: E501 else: - (data) = self.get_dataset_design_with_http_info(dataset, **kwargs) # noqa: E501 + (data) = self.get_api_info_with_http_info(**kwargs) # noqa: E501 return data except ApiException as err: if err.status in [429,500] and attempts < 2: @@ -288,22 +298,22 @@ def get_dataset_design(self, dataset, **kwargs): # noqa: E501 else: raise err - def get_dataset_design_with_http_info(self, dataset, **kwargs): # noqa: E501 - """Retrieve the design of a dataset # noqa: E501 + def get_api_info_with_http_info(self, **kwargs): # noqa: E501 + """Retrieve an object with basic API information # noqa: E501 + The payload contains a list of featured external databases that Gemma uses under the `externalDatabases` field. Those are mainly genomic references and sources of gene annotations. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_design_with_http_info(dataset, async_req=True) + >>> thread = api.get_api_info_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool - :param Dataset1 dataset: (required) - :return: str + :return: ResponseDataObjectApiInfoValueObject If the method is called asynchronously, returns the request thread. """ - all_params = ['dataset'] # noqa: E501 + all_params = [] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -316,20 +326,14 @@ def get_dataset_design_with_http_info(self, dataset, **kwargs): # noqa: E501 if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_dataset_design" % key + " to method get_api_info" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'dataset' is set - if ('dataset' not in params or - params['dataset'] is None): - raise ValueError("Missing the required parameter `dataset` when calling `get_dataset_design`") # noqa: E501 collection_formats = {} path_params = {} - if 'dataset' in params: - path_params['dataset'] = params['dataset'] # noqa: E501 query_params = [] @@ -342,8 +346,8 @@ def get_dataset_design_with_http_info(self, dataset, **kwargs): # noqa: E501 # HTTP header `Accept` if not kwargs.get('_force_table'): header_params['Accept'] = self.api_client.select_header_accept( - ['text/tab-separated-values; charset=UTF-8', 'application/json']) # noqa: E501 - response_type = 'str' # noqa: E501 + ['application/json']) # noqa: E501 + response_type = 'ResponseDataObjectApiInfoValueObject' # noqa: E501 else: header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' response_type = 'str' @@ -353,7 +357,7 @@ def get_dataset_design_with_http_info(self, dataset, **kwargs): # noqa: E501 auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 return self.api_client.call_api( - '/datasets/{dataset}/design', 'GET', + '/', 'GET', path_params, query_params, header_params, @@ -368,22 +372,19 @@ def get_dataset_design_with_http_info(self, dataset, **kwargs): # noqa: E501 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_dataset_differential_expression(self, datasets, **kwargs): # noqa: E501 - """Retrieve the expression levels of a set of datasets subject to a threshold on their differential expressions # noqa: E501 + def get_dataset(self, dataset, **kwargs): # noqa: E501 + """Retrieve a refreshed dataset # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_differential_expression(datasets, async_req=True) + >>> thread = api.get_dataset(dataset, async_req=True) >>> result = thread.get() :param async_req bool - :param list[object] datasets: (required) - :param int diff_ex_set: - :param float threshold: - :param int limit: - :param bool keep_non_specific: - :param str consolidate: - :return: ResponseDataObjectListExperimentExpressionLevelsValueObject + :param Dataset dataset: (required) + :param bool refresh_vectors: Refresh raw and processed data vectors. + :param bool refresh_reports: Refresh experiment reports which include differential expression analyses and batch effects. + :return: None If the method is called asynchronously, returns the request thread. """ @@ -395,9 +396,9 @@ def get_dataset_differential_expression(self, datasets, **kwargs): # noqa: E501 while True: try: if kwargs.get('async_req'): - return self.get_dataset_differential_expression_with_http_info(datasets, **kwargs) # noqa: E501 + return self.get_dataset_with_http_info(dataset, **kwargs) # noqa: E501 else: - (data) = self.get_dataset_differential_expression_with_http_info(datasets, **kwargs) # noqa: E501 + (data) = self.get_dataset_with_http_info(dataset, **kwargs) # noqa: E501 return data except ApiException as err: if err.status in [429,500] and attempts < 2: @@ -406,27 +407,24 @@ def get_dataset_differential_expression(self, datasets, **kwargs): # noqa: E501 else: raise err - def get_dataset_differential_expression_with_http_info(self, datasets, **kwargs): # noqa: E501 - """Retrieve the expression levels of a set of datasets subject to a threshold on their differential expressions # noqa: E501 + def get_dataset_with_http_info(self, dataset, **kwargs): # noqa: E501 + """Retrieve a refreshed dataset # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_differential_expression_with_http_info(datasets, async_req=True) + >>> thread = api.get_dataset_with_http_info(dataset, async_req=True) >>> result = thread.get() :param async_req bool - :param list[object] datasets: (required) - :param int diff_ex_set: - :param float threshold: - :param int limit: - :param bool keep_non_specific: - :param str consolidate: - :return: ResponseDataObjectListExperimentExpressionLevelsValueObject + :param Dataset dataset: (required) + :param bool refresh_vectors: Refresh raw and processed data vectors. + :param bool refresh_reports: Refresh experiment reports which include differential expression analyses and batch effects. + :return: None If the method is called asynchronously, returns the request thread. """ - all_params = ['datasets', 'diff_ex_set', 'threshold', 'limit', 'keep_non_specific', 'consolidate'] # noqa: E501 + all_params = ['dataset', 'refresh_vectors', 'refresh_reports'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -439,33 +437,26 @@ def get_dataset_differential_expression_with_http_info(self, datasets, **kwargs) if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_dataset_differential_expression" % key + " to method get_dataset" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'datasets' is set - if ('datasets' not in params or - params['datasets'] is None): - raise ValueError("Missing the required parameter `datasets` when calling `get_dataset_differential_expression`") # noqa: E501 + # verify the required parameter 'dataset' is set + if ('dataset' not in params or + params['dataset'] is None): + raise ValueError("Missing the required parameter `dataset` when calling `get_dataset`") # noqa: E501 collection_formats = {} path_params = {} - if 'datasets' in params: - path_params['datasets'] = params['datasets'] # noqa: E501 - collection_formats['datasets'] = '' # noqa: E501 + if 'dataset' in params: + path_params['dataset'] = params['dataset'] # noqa: E501 query_params = [] - if 'diff_ex_set' in params: - query_params.append(('diffExSet', params['diff_ex_set'])) # noqa: E501 - if 'threshold' in params: - query_params.append(('threshold', params['threshold'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'keep_non_specific' in params: - query_params.append(('keepNonSpecific', params['keep_non_specific'])) # noqa: E501 - if 'consolidate' in params: - query_params.append(('consolidate', params['consolidate'])) # noqa: E501 + if 'refresh_vectors' in params: + query_params.append(('refreshVectors', params['refresh_vectors'])) # noqa: E501 + if 'refresh_reports' in params: + query_params.append(('refreshReports', params['refresh_reports'])) # noqa: E501 header_params = {} @@ -477,7 +468,7 @@ def get_dataset_differential_expression_with_http_info(self, datasets, **kwargs) if not kwargs.get('_force_table'): header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 - response_type = 'ResponseDataObjectListExperimentExpressionLevelsValueObject' # noqa: E501 + response_type = None # noqa: E501 else: header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' response_type = 'str' @@ -487,7 +478,7 @@ def get_dataset_differential_expression_with_http_info(self, datasets, **kwargs) auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 return self.api_client.call_api( - '/datasets/{datasets}/expressions/differential', 'GET', + '/datasets/{dataset}/refresh', 'GET', path_params, query_params, header_params, @@ -502,19 +493,17 @@ def get_dataset_differential_expression_with_http_info(self, datasets, **kwargs) _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_dataset_differential_expression_analyses(self, dataset, **kwargs): # noqa: E501 - """Retrieve annotations and surface level stats for a dataset's differential analyses # noqa: E501 + def get_dataset_annotations(self, dataset, **kwargs): # noqa: E501 + """Retrieve the annotations of a dataset # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_differential_expression_analyses(dataset, async_req=True) + >>> thread = api.get_dataset_annotations(dataset, async_req=True) >>> result = thread.get() :param async_req bool - :param Dataset2 dataset: (required) - :param int offset: - :param int limit: - :return: ResponseDataObjectListDifferentialExpressionAnalysisValueObject + :param Dataset1 dataset: (required) + :return: ResponseDataObjectSetAnnotationValueObject If the method is called asynchronously, returns the request thread. """ @@ -526,9 +515,9 @@ def get_dataset_differential_expression_analyses(self, dataset, **kwargs): # no while True: try: if kwargs.get('async_req'): - return self.get_dataset_differential_expression_analyses_with_http_info(dataset, **kwargs) # noqa: E501 + return self.get_dataset_annotations_with_http_info(dataset, **kwargs) # noqa: E501 else: - (data) = self.get_dataset_differential_expression_analyses_with_http_info(dataset, **kwargs) # noqa: E501 + (data) = self.get_dataset_annotations_with_http_info(dataset, **kwargs) # noqa: E501 return data except ApiException as err: if err.status in [429,500] and attempts < 2: @@ -537,24 +526,22 @@ def get_dataset_differential_expression_analyses(self, dataset, **kwargs): # no else: raise err - def get_dataset_differential_expression_analyses_with_http_info(self, dataset, **kwargs): # noqa: E501 - """Retrieve annotations and surface level stats for a dataset's differential analyses # noqa: E501 + def get_dataset_annotations_with_http_info(self, dataset, **kwargs): # noqa: E501 + """Retrieve the annotations of a dataset # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_differential_expression_analyses_with_http_info(dataset, async_req=True) + >>> thread = api.get_dataset_annotations_with_http_info(dataset, async_req=True) >>> result = thread.get() :param async_req bool - :param Dataset2 dataset: (required) - :param int offset: - :param int limit: - :return: ResponseDataObjectListDifferentialExpressionAnalysisValueObject + :param Dataset1 dataset: (required) + :return: ResponseDataObjectSetAnnotationValueObject If the method is called asynchronously, returns the request thread. """ - all_params = ['dataset', 'offset', 'limit'] # noqa: E501 + all_params = ['dataset'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -567,14 +554,14 @@ def get_dataset_differential_expression_analyses_with_http_info(self, dataset, * if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_dataset_differential_expression_analyses" % key + " to method get_dataset_annotations" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'dataset' is set if ('dataset' not in params or params['dataset'] is None): - raise ValueError("Missing the required parameter `dataset` when calling `get_dataset_differential_expression_analyses`") # noqa: E501 + raise ValueError("Missing the required parameter `dataset` when calling `get_dataset_annotations`") # noqa: E501 collection_formats = {} @@ -583,10 +570,6 @@ def get_dataset_differential_expression_analyses_with_http_info(self, dataset, * path_params['dataset'] = params['dataset'] # noqa: E501 query_params = [] - if 'offset' in params: - query_params.append(('offset', params['offset'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 header_params = {} @@ -598,7 +581,7 @@ def get_dataset_differential_expression_analyses_with_http_info(self, dataset, * if not kwargs.get('_force_table'): header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 - response_type = 'ResponseDataObjectListDifferentialExpressionAnalysisValueObject' # noqa: E501 + response_type = 'ResponseDataObjectSetAnnotationValueObject' # noqa: E501 else: header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' response_type = 'str' @@ -608,7 +591,7 @@ def get_dataset_differential_expression_analyses_with_http_info(self, dataset, * auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 return self.api_client.call_api( - '/datasets/{dataset}/analyses/differential', 'GET', + '/datasets/{dataset}/annotations', 'GET', path_params, query_params, header_params, @@ -623,17 +606,17 @@ def get_dataset_differential_expression_analyses_with_http_info(self, dataset, * _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_dataset_differential_expression_analyses_result_sets(self, dataset, **kwargs): # noqa: E501 - """Retrieve the result sets of all differential analyses of a dataset # noqa: E501 + def get_dataset_design(self, dataset, **kwargs): # noqa: E501 + """Retrieve the design of a dataset # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_differential_expression_analyses_result_sets(dataset, async_req=True) + >>> thread = api.get_dataset_design(dataset, async_req=True) >>> result = thread.get() :param async_req bool - :param Dataset3 dataset: (required) - :return: None + :param Dataset2 dataset: (required) + :return: str If the method is called asynchronously, returns the request thread. """ @@ -645,9 +628,9 @@ def get_dataset_differential_expression_analyses_result_sets(self, dataset, **kw while True: try: if kwargs.get('async_req'): - return self.get_dataset_differential_expression_analyses_result_sets_with_http_info(dataset, **kwargs) # noqa: E501 + return self.get_dataset_design_with_http_info(dataset, **kwargs) # noqa: E501 else: - (data) = self.get_dataset_differential_expression_analyses_result_sets_with_http_info(dataset, **kwargs) # noqa: E501 + (data) = self.get_dataset_design_with_http_info(dataset, **kwargs) # noqa: E501 return data except ApiException as err: if err.status in [429,500] and attempts < 2: @@ -656,17 +639,17 @@ def get_dataset_differential_expression_analyses_result_sets(self, dataset, **kw else: raise err - def get_dataset_differential_expression_analyses_result_sets_with_http_info(self, dataset, **kwargs): # noqa: E501 - """Retrieve the result sets of all differential analyses of a dataset # noqa: E501 + def get_dataset_design_with_http_info(self, dataset, **kwargs): # noqa: E501 + """Retrieve the design of a dataset # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_differential_expression_analyses_result_sets_with_http_info(dataset, async_req=True) + >>> thread = api.get_dataset_design_with_http_info(dataset, async_req=True) >>> result = thread.get() :param async_req bool - :param Dataset3 dataset: (required) - :return: None + :param Dataset2 dataset: (required) + :return: str If the method is called asynchronously, returns the request thread. """ @@ -684,14 +667,14 @@ def get_dataset_differential_expression_analyses_result_sets_with_http_info(self if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_dataset_differential_expression_analyses_result_sets" % key + " to method get_dataset_design" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'dataset' is set if ('dataset' not in params or params['dataset'] is None): - raise ValueError("Missing the required parameter `dataset` when calling `get_dataset_differential_expression_analyses_result_sets`") # noqa: E501 + raise ValueError("Missing the required parameter `dataset` when calling `get_dataset_design`") # noqa: E501 collection_formats = {} @@ -710,8 +693,8 @@ def get_dataset_differential_expression_analyses_result_sets_with_http_info(self # HTTP header `Accept` if not kwargs.get('_force_table'): header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - response_type = None # noqa: E501 + ['text/tab-separated-values; charset=UTF-8', 'application/json']) # noqa: E501 + response_type = 'str' # noqa: E501 else: header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' response_type = 'str' @@ -721,7 +704,7 @@ def get_dataset_differential_expression_analyses_result_sets_with_http_info(self auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 return self.api_client.call_api( - '/datasets/{dataset}/analyses/differential/resultSets', 'GET', + '/datasets/{dataset}/design', 'GET', path_params, query_params, header_params, @@ -736,19 +719,19 @@ def get_dataset_differential_expression_analyses_result_sets_with_http_info(self _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_dataset_expression(self, dataset, **kwargs): # noqa: E501 - """Retrieve processed expression data of a dataset # noqa: E501 + def get_dataset_differential_expression_analyses(self, dataset, **kwargs): # noqa: E501 + """Retrieve annotations and surface level stats for a dataset's differential analyses # noqa: E501 - This endpoint is deprecated and getDatasetProcessedExpression() should be used instead. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_expression(dataset, async_req=True) + >>> thread = api.get_dataset_differential_expression_analyses(dataset, async_req=True) >>> result = thread.get() :param async_req bool - :param Dataset4 dataset: (required) - :param bool filter: - :return: None + :param Dataset3 dataset: (required) + :param int offset: + :param int limit: + :return: ResponseDataObjectListDifferentialExpressionAnalysisValueObject If the method is called asynchronously, returns the request thread. """ @@ -760,9 +743,9 @@ def get_dataset_expression(self, dataset, **kwargs): # noqa: E501 while True: try: if kwargs.get('async_req'): - return self.get_dataset_expression_with_http_info(dataset, **kwargs) # noqa: E501 + return self.get_dataset_differential_expression_analyses_with_http_info(dataset, **kwargs) # noqa: E501 else: - (data) = self.get_dataset_expression_with_http_info(dataset, **kwargs) # noqa: E501 + (data) = self.get_dataset_differential_expression_analyses_with_http_info(dataset, **kwargs) # noqa: E501 return data except ApiException as err: if err.status in [429,500] and attempts < 2: @@ -771,24 +754,24 @@ def get_dataset_expression(self, dataset, **kwargs): # noqa: E501 else: raise err - def get_dataset_expression_with_http_info(self, dataset, **kwargs): # noqa: E501 - """Retrieve processed expression data of a dataset # noqa: E501 + def get_dataset_differential_expression_analyses_with_http_info(self, dataset, **kwargs): # noqa: E501 + """Retrieve annotations and surface level stats for a dataset's differential analyses # noqa: E501 - This endpoint is deprecated and getDatasetProcessedExpression() should be used instead. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_expression_with_http_info(dataset, async_req=True) + >>> thread = api.get_dataset_differential_expression_analyses_with_http_info(dataset, async_req=True) >>> result = thread.get() :param async_req bool - :param Dataset4 dataset: (required) - :param bool filter: - :return: None + :param Dataset3 dataset: (required) + :param int offset: + :param int limit: + :return: ResponseDataObjectListDifferentialExpressionAnalysisValueObject If the method is called asynchronously, returns the request thread. """ - all_params = ['dataset', 'filter'] # noqa: E501 + all_params = ['dataset', 'offset', 'limit'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -801,14 +784,14 @@ def get_dataset_expression_with_http_info(self, dataset, **kwargs): # noqa: E50 if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_dataset_expression" % key + " to method get_dataset_differential_expression_analyses" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'dataset' is set if ('dataset' not in params or params['dataset'] is None): - raise ValueError("Missing the required parameter `dataset` when calling `get_dataset_expression`") # noqa: E501 + raise ValueError("Missing the required parameter `dataset` when calling `get_dataset_differential_expression_analyses`") # noqa: E501 collection_formats = {} @@ -817,8 +800,10 @@ def get_dataset_expression_with_http_info(self, dataset, **kwargs): # noqa: E50 path_params['dataset'] = params['dataset'] # noqa: E501 query_params = [] - if 'filter' in params: - query_params.append(('filter', params['filter'])) # noqa: E501 + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 header_params = {} @@ -829,8 +814,8 @@ def get_dataset_expression_with_http_info(self, dataset, **kwargs): # noqa: E50 # HTTP header `Accept` if not kwargs.get('_force_table'): header_params['Accept'] = self.api_client.select_header_accept( - ['text/tab-separated-values; charset=UTF-8', 'application/json']) # noqa: E501 - response_type = None # noqa: E501 + ['application/json']) # noqa: E501 + response_type = 'ResponseDataObjectListDifferentialExpressionAnalysisValueObject' # noqa: E501 else: header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' response_type = 'str' @@ -840,7 +825,7 @@ def get_dataset_expression_with_http_info(self, dataset, **kwargs): # noqa: E50 auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 return self.api_client.call_api( - '/datasets/{dataset}/data', 'GET', + '/datasets/{dataset}/analyses/differential', 'GET', path_params, query_params, header_params, @@ -855,20 +840,17 @@ def get_dataset_expression_with_http_info(self, dataset, **kwargs): # noqa: E50 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_dataset_expression_for_genes(self, datasets, genes, **kwargs): # noqa: E501 - """Retrieve the expression data matrix of a set of datasets and genes # noqa: E501 + def get_dataset_differential_expression_analysis_result_sets(self, dataset, **kwargs): # noqa: E501 + """Retrieve the result sets of all differential analyses of a dataset # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_expression_for_genes(datasets, genes, async_req=True) + >>> thread = api.get_dataset_differential_expression_analysis_result_sets(dataset, async_req=True) >>> result = thread.get() :param async_req bool - :param list[object] datasets: (required) - :param list[object] genes: (required) - :param bool keep_non_specific: - :param str consolidate: - :return: ResponseDataObjectListExperimentExpressionLevelsValueObject + :param Dataset4 dataset: (required) + :return: None If the method is called asynchronously, returns the request thread. """ @@ -880,9 +862,9 @@ def get_dataset_expression_for_genes(self, datasets, genes, **kwargs): # noqa: while True: try: if kwargs.get('async_req'): - return self.get_dataset_expression_for_genes_with_http_info(datasets, genes, **kwargs) # noqa: E501 + return self.get_dataset_differential_expression_analysis_result_sets_with_http_info(dataset, **kwargs) # noqa: E501 else: - (data) = self.get_dataset_expression_for_genes_with_http_info(datasets, genes, **kwargs) # noqa: E501 + (data) = self.get_dataset_differential_expression_analysis_result_sets_with_http_info(dataset, **kwargs) # noqa: E501 return data except ApiException as err: if err.status in [429,500] and attempts < 2: @@ -891,158 +873,22 @@ def get_dataset_expression_for_genes(self, datasets, genes, **kwargs): # noqa: else: raise err - def get_dataset_expression_for_genes_with_http_info(self, datasets, genes, **kwargs): # noqa: E501 - """Retrieve the expression data matrix of a set of datasets and genes # noqa: E501 + def get_dataset_differential_expression_analysis_result_sets_with_http_info(self, dataset, **kwargs): # noqa: E501 + """Retrieve the result sets of all differential analyses of a dataset # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_expression_for_genes_with_http_info(datasets, genes, async_req=True) + >>> thread = api.get_dataset_differential_expression_analysis_result_sets_with_http_info(dataset, async_req=True) >>> result = thread.get() :param async_req bool - :param list[object] datasets: (required) - :param list[object] genes: (required) - :param bool keep_non_specific: - :param str consolidate: - :return: ResponseDataObjectListExperimentExpressionLevelsValueObject - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['datasets', 'genes', 'keep_non_specific', 'consolidate'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - all_params.append('_force_table') - - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_dataset_expression_for_genes" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'datasets' is set - if ('datasets' not in params or - params['datasets'] is None): - raise ValueError("Missing the required parameter `datasets` when calling `get_dataset_expression_for_genes`") # noqa: E501 - # verify the required parameter 'genes' is set - if ('genes' not in params or - params['genes'] is None): - raise ValueError("Missing the required parameter `genes` when calling `get_dataset_expression_for_genes`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'datasets' in params: - path_params['datasets'] = params['datasets'] # noqa: E501 - collection_formats['datasets'] = '' # noqa: E501 - if 'genes' in params: - path_params['genes'] = params['genes'] # noqa: E501 - collection_formats['genes'] = '' # noqa: E501 - - query_params = [] - if 'keep_non_specific' in params: - query_params.append(('keepNonSpecific', params['keep_non_specific'])) # noqa: E501 - if 'consolidate' in params: - query_params.append(('consolidate', params['consolidate'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - if not kwargs.get('_force_table'): - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - response_type = 'ResponseDataObjectListExperimentExpressionLevelsValueObject' # noqa: E501 - else: - header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' - response_type = 'str' - - - # Authentication setting - auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 - - return self.api_client.call_api( - '/datasets/{datasets}/expressions/genes/{genes}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=response_type, - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_dataset_expression_for_genes_in_taxa(self, datasets, taxa, genes, **kwargs): # noqa: E501 - """Retrieve the expression data matrix of a set of datasets and genes # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_expression_for_genes_in_taxa(datasets, taxa, genes, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param list[object] datasets: (required) - :param Taxa taxa: (required) - :param list[object] genes: (required) - :param bool keep_non_specific: - :param str consolidate: - :return: ResponseDataObjectListExperimentExpressionLevelsValueObject - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - - - attempts = 0 - - while True: - try: - if kwargs.get('async_req'): - return self.get_dataset_expression_for_genes_in_taxa_with_http_info(datasets, taxa, genes, **kwargs) # noqa: E501 - else: - (data) = self.get_dataset_expression_for_genes_in_taxa_with_http_info(datasets, taxa, genes, **kwargs) # noqa: E501 - return data - except ApiException as err: - if err.status in [429,500] and attempts < 2: - attempts += 1 - time.sleep(3) - else: - raise err - - def get_dataset_expression_for_genes_in_taxa_with_http_info(self, datasets, taxa, genes, **kwargs): # noqa: E501 - """Retrieve the expression data matrix of a set of datasets and genes # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_expression_for_genes_in_taxa_with_http_info(datasets, taxa, genes, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param list[object] datasets: (required) - :param Taxa taxa: (required) - :param list[object] genes: (required) - :param bool keep_non_specific: - :param str consolidate: - :return: ResponseDataObjectListExperimentExpressionLevelsValueObject + :param Dataset4 dataset: (required) + :return: None If the method is called asynchronously, returns the request thread. """ - all_params = ['datasets', 'taxa', 'genes', 'keep_non_specific', 'consolidate'] # noqa: E501 + all_params = ['dataset'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1055,40 +901,22 @@ def get_dataset_expression_for_genes_in_taxa_with_http_info(self, datasets, taxa if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_dataset_expression_for_genes_in_taxa" % key + " to method get_dataset_differential_expression_analysis_result_sets" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'datasets' is set - if ('datasets' not in params or - params['datasets'] is None): - raise ValueError("Missing the required parameter `datasets` when calling `get_dataset_expression_for_genes_in_taxa`") # noqa: E501 - # verify the required parameter 'taxa' is set - if ('taxa' not in params or - params['taxa'] is None): - raise ValueError("Missing the required parameter `taxa` when calling `get_dataset_expression_for_genes_in_taxa`") # noqa: E501 - # verify the required parameter 'genes' is set - if ('genes' not in params or - params['genes'] is None): - raise ValueError("Missing the required parameter `genes` when calling `get_dataset_expression_for_genes_in_taxa`") # noqa: E501 + # verify the required parameter 'dataset' is set + if ('dataset' not in params or + params['dataset'] is None): + raise ValueError("Missing the required parameter `dataset` when calling `get_dataset_differential_expression_analysis_result_sets`") # noqa: E501 collection_formats = {} path_params = {} - if 'datasets' in params: - path_params['datasets'] = params['datasets'] # noqa: E501 - collection_formats['datasets'] = '' # noqa: E501 - if 'taxa' in params: - path_params['taxa'] = params['taxa'] # noqa: E501 - if 'genes' in params: - path_params['genes'] = params['genes'] # noqa: E501 - collection_formats['genes'] = '' # noqa: E501 + if 'dataset' in params: + path_params['dataset'] = params['dataset'] # noqa: E501 query_params = [] - if 'keep_non_specific' in params: - query_params.append(('keepNonSpecific', params['keep_non_specific'])) # noqa: E501 - if 'consolidate' in params: - query_params.append(('consolidate', params['consolidate'])) # noqa: E501 header_params = {} @@ -1100,7 +928,7 @@ def get_dataset_expression_for_genes_in_taxa_with_http_info(self, datasets, taxa if not kwargs.get('_force_table'): header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 - response_type = 'ResponseDataObjectListExperimentExpressionLevelsValueObject' # noqa: E501 + response_type = None # noqa: E501 else: header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' response_type = 'str' @@ -1110,7 +938,7 @@ def get_dataset_expression_for_genes_in_taxa_with_http_info(self, datasets, taxa auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 return self.api_client.call_api( - '/datasets/{datasets}/expressions/taxa/{taxa}/genes/{genes}', 'GET', + '/datasets/{dataset}/analyses/differential/resultSets', 'GET', path_params, query_params, header_params, @@ -1125,21 +953,19 @@ def get_dataset_expression_for_genes_in_taxa_with_http_info(self, datasets, taxa _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_dataset_expression_pca(self, datasets, **kwargs): # noqa: E501 - """Retrieve the principal components (PCA) of a set of datasets # noqa: E501 + def get_dataset_expression(self, dataset, **kwargs): # noqa: E501 + """Retrieve processed expression data of a dataset # noqa: E501 + This endpoint is deprecated and getDatasetProcessedExpression() should be used instead. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_expression_pca(datasets, async_req=True) + >>> thread = api.get_dataset_expression(dataset, async_req=True) >>> result = thread.get() :param async_req bool - :param list[object] datasets: (required) - :param int component: - :param int limit: - :param bool keep_non_specific: - :param str consolidate: - :return: ResponseDataObjectListExperimentExpressionLevelsValueObject + :param Dataset5 dataset: (required) + :param bool filter: + :return: None If the method is called asynchronously, returns the request thread. """ @@ -1151,9 +977,9 @@ def get_dataset_expression_pca(self, datasets, **kwargs): # noqa: E501 while True: try: if kwargs.get('async_req'): - return self.get_dataset_expression_pca_with_http_info(datasets, **kwargs) # noqa: E501 + return self.get_dataset_expression_with_http_info(dataset, **kwargs) # noqa: E501 else: - (data) = self.get_dataset_expression_pca_with_http_info(datasets, **kwargs) # noqa: E501 + (data) = self.get_dataset_expression_with_http_info(dataset, **kwargs) # noqa: E501 return data except ApiException as err: if err.status in [429,500] and attempts < 2: @@ -1162,26 +988,24 @@ def get_dataset_expression_pca(self, datasets, **kwargs): # noqa: E501 else: raise err - def get_dataset_expression_pca_with_http_info(self, datasets, **kwargs): # noqa: E501 - """Retrieve the principal components (PCA) of a set of datasets # noqa: E501 + def get_dataset_expression_with_http_info(self, dataset, **kwargs): # noqa: E501 + """Retrieve processed expression data of a dataset # noqa: E501 + This endpoint is deprecated and getDatasetProcessedExpression() should be used instead. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dataset_expression_pca_with_http_info(datasets, async_req=True) + >>> thread = api.get_dataset_expression_with_http_info(dataset, async_req=True) >>> result = thread.get() :param async_req bool - :param list[object] datasets: (required) - :param int component: - :param int limit: - :param bool keep_non_specific: - :param str consolidate: - :return: ResponseDataObjectListExperimentExpressionLevelsValueObject + :param Dataset5 dataset: (required) + :param bool filter: + :return: None If the method is called asynchronously, returns the request thread. """ - all_params = ['datasets', 'component', 'limit', 'keep_non_specific', 'consolidate'] # noqa: E501 + all_params = ['dataset', 'filter'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1194,31 +1018,24 @@ def get_dataset_expression_pca_with_http_info(self, datasets, **kwargs): # noqa if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_dataset_expression_pca" % key + " to method get_dataset_expression" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'datasets' is set - if ('datasets' not in params or - params['datasets'] is None): - raise ValueError("Missing the required parameter `datasets` when calling `get_dataset_expression_pca`") # noqa: E501 + # verify the required parameter 'dataset' is set + if ('dataset' not in params or + params['dataset'] is None): + raise ValueError("Missing the required parameter `dataset` when calling `get_dataset_expression`") # noqa: E501 collection_formats = {} path_params = {} - if 'datasets' in params: - path_params['datasets'] = params['datasets'] # noqa: E501 - collection_formats['datasets'] = '' # noqa: E501 + if 'dataset' in params: + path_params['dataset'] = params['dataset'] # noqa: E501 query_params = [] - if 'component' in params: - query_params.append(('component', params['component'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'keep_non_specific' in params: - query_params.append(('keepNonSpecific', params['keep_non_specific'])) # noqa: E501 - if 'consolidate' in params: - query_params.append(('consolidate', params['consolidate'])) # noqa: E501 + if 'filter' in params: + query_params.append(('filter', params['filter'])) # noqa: E501 header_params = {} @@ -1229,8 +1046,8 @@ def get_dataset_expression_pca_with_http_info(self, datasets, **kwargs): # noqa # HTTP header `Accept` if not kwargs.get('_force_table'): header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - response_type = 'ResponseDataObjectListExperimentExpressionLevelsValueObject' # noqa: E501 + ['text/tab-separated-values; charset=UTF-8', 'application/json']) # noqa: E501 + response_type = None # noqa: E501 else: header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' response_type = 'str' @@ -1240,7 +1057,7 @@ def get_dataset_expression_pca_with_http_info(self, datasets, **kwargs): # noqa auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 return self.api_client.call_api( - '/datasets/{datasets}/expressions/pca', 'GET', + '/datasets/{dataset}/data', 'GET', path_params, query_params, header_params, @@ -1264,7 +1081,7 @@ def get_dataset_platforms(self, dataset, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Dataset5 dataset: (required) + :param Dataset6 dataset: (required) :return: ResponseDataObjectListArrayDesignValueObject If the method is called asynchronously, returns the request thread. @@ -1297,7 +1114,7 @@ def get_dataset_platforms_with_http_info(self, dataset, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Dataset5 dataset: (required) + :param Dataset6 dataset: (required) :return: ResponseDataObjectListArrayDesignValueObject If the method is called asynchronously, returns the request thread. @@ -1377,7 +1194,7 @@ def get_dataset_processed_expression(self, dataset, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Dataset6 dataset: (required) + :param Dataset7 dataset: (required) :return: str If the method is called asynchronously, returns the request thread. @@ -1410,7 +1227,7 @@ def get_dataset_processed_expression_with_http_info(self, dataset, **kwargs): # >>> result = thread.get() :param async_req bool - :param Dataset6 dataset: (required) + :param Dataset7 dataset: (required) :return: str If the method is called asynchronously, returns the request thread. @@ -1490,7 +1307,7 @@ def get_dataset_quantitation_types(self, dataset, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Dataset7 dataset: (required) + :param Dataset8 dataset: (required) :return: ResponseDataObjectSetQuantitationTypeValueObject If the method is called asynchronously, returns the request thread. @@ -1523,7 +1340,7 @@ def get_dataset_quantitation_types_with_http_info(self, dataset, **kwargs): # n >>> result = thread.get() :param async_req bool - :param Dataset7 dataset: (required) + :param Dataset8 dataset: (required) :return: ResponseDataObjectSetQuantitationTypeValueObject If the method is called asynchronously, returns the request thread. @@ -1603,7 +1420,7 @@ def get_dataset_raw_expression(self, dataset, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Dataset8 dataset: (required) + :param Dataset9 dataset: (required) :param QuantitationType quantitation_type: :return: str If the method is called asynchronously, @@ -1637,7 +1454,7 @@ def get_dataset_raw_expression_with_http_info(self, dataset, **kwargs): # noqa: >>> result = thread.get() :param async_req bool - :param Dataset8 dataset: (required) + :param Dataset9 dataset: (required) :param QuantitationType quantitation_type: :return: str If the method is called asynchronously, @@ -1720,7 +1537,7 @@ def get_dataset_samples(self, dataset, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Dataset9 dataset: (required) + :param Dataset10 dataset: (required) :return: ResponseDataObjectListBioAssayValueObject If the method is called asynchronously, returns the request thread. @@ -1753,7 +1570,7 @@ def get_dataset_samples_with_http_info(self, dataset, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Dataset9 dataset: (required) + :param Dataset10 dataset: (required) :return: ResponseDataObjectListBioAssayValueObject If the method is called asynchronously, returns the request thread. @@ -1833,7 +1650,7 @@ def get_dataset_svd(self, dataset, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Dataset10 dataset: (required) + :param Dataset11 dataset: (required) :return: ResponseDataObjectSimpleSVDValueObject If the method is called asynchronously, returns the request thread. @@ -1866,7 +1683,7 @@ def get_dataset_svd_with_http_info(self, dataset, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Dataset10 dataset: (required) + :param Dataset11 dataset: (required) :return: ResponseDataObjectSimpleSVDValueObject If the method is called asynchronously, returns the request thread. @@ -1993,7 +1810,1068 @@ def get_datasets_with_http_info(self, **kwargs): # noqa: E501 returns the request thread. """ - all_params = ['query', 'filter', 'offset', 'limit', 'sort'] # noqa: E501 + all_params = ['query', 'filter', 'offset', 'limit', 'sort'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + all_params.append('_force_table') + + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_datasets" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'query' in params: + query_params.append(('query', params['query'])) # noqa: E501 + if 'filter' in params: + query_params.append(('filter', params['filter'])) # noqa: E501 + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'sort' in params: + query_params.append(('sort', params['sort'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + if not kwargs.get('_force_table'): + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + response_type = 'QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectExpressionExperimentWithSearchResultValueObject' # noqa: E501 + else: + header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' + response_type = 'str' + + + # Authentication setting + auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 + + return self.api_client.call_api( + '/datasets', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=response_type, + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_datasets_annotations_usage_statistics(self, **kwargs): # noqa: E501 + """Retrieve usage statistics of annotations among datasets matching the provided query and filter # noqa: E501 + + Usage statistics are aggregated across experiment tags, samples and factor values mentioned in the experimental design. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_datasets_annotations_usage_statistics(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param QueryArg query: + :param FilterArgExpressionExperiment filter: + :param list[str] exclude: List of fields to exclude from the payload. Only `parentTerms` can be excluded. + :param int limit: Maximum number of annotations to returned; capped at 5000. + :param int min_frequency: Minimum number of associated datasets to report an annotation. If used, the limit will default to 5000. + :param str category: A category URI to restrict reported annotations. If unspecified, annotations from all categories are reported. If empty, uncategorized terms are reported. + :return: QueriedAndFilteredAndInferredAndLimitedResponseDataObjectAnnotationWithUsageStatisticsValueObject + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + + + attempts = 0 + + while True: + try: + if kwargs.get('async_req'): + return self.get_datasets_annotations_usage_statistics_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_datasets_annotations_usage_statistics_with_http_info(**kwargs) # noqa: E501 + return data + except ApiException as err: + if err.status in [429,500] and attempts < 2: + attempts += 1 + time.sleep(3) + else: + raise err + + def get_datasets_annotations_usage_statistics_with_http_info(self, **kwargs): # noqa: E501 + """Retrieve usage statistics of annotations among datasets matching the provided query and filter # noqa: E501 + + Usage statistics are aggregated across experiment tags, samples and factor values mentioned in the experimental design. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_datasets_annotations_usage_statistics_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param QueryArg query: + :param FilterArgExpressionExperiment filter: + :param list[str] exclude: List of fields to exclude from the payload. Only `parentTerms` can be excluded. + :param int limit: Maximum number of annotations to returned; capped at 5000. + :param int min_frequency: Minimum number of associated datasets to report an annotation. If used, the limit will default to 5000. + :param str category: A category URI to restrict reported annotations. If unspecified, annotations from all categories are reported. If empty, uncategorized terms are reported. + :return: QueriedAndFilteredAndInferredAndLimitedResponseDataObjectAnnotationWithUsageStatisticsValueObject + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['query', 'filter', 'exclude', 'limit', 'min_frequency', 'category'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + all_params.append('_force_table') + + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_datasets_annotations_usage_statistics" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'query' in params: + query_params.append(('query', params['query'])) # noqa: E501 + if 'filter' in params: + query_params.append(('filter', params['filter'])) # noqa: E501 + if 'exclude' in params: + query_params.append(('exclude', params['exclude'])) # noqa: E501 + collection_formats['exclude'] = 'multi' # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'min_frequency' in params: + query_params.append(('minFrequency', params['min_frequency'])) # noqa: E501 + if 'category' in params: + query_params.append(('category', params['category'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + if not kwargs.get('_force_table'): + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + response_type = 'QueriedAndFilteredAndInferredAndLimitedResponseDataObjectAnnotationWithUsageStatisticsValueObject' # noqa: E501 + else: + header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' + response_type = 'str' + + + # Authentication setting + auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 + + return self.api_client.call_api( + '/datasets/annotations', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=response_type, + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_datasets_by_ids(self, dataset, **kwargs): # noqa: E501 + """Retrieve datasets by their identifiers # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_datasets_by_ids(dataset, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[object] dataset: (required) + :param FilterArgExpressionExperiment filter: + :param int offset: + :param int limit: + :param SortArgExpressionExperiment sort: + :return: FilteredAndInferredAndPaginatedResponseDataObjectExpressionExperimentValueObject + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + + + attempts = 0 + + while True: + try: + if kwargs.get('async_req'): + return self.get_datasets_by_ids_with_http_info(dataset, **kwargs) # noqa: E501 + else: + (data) = self.get_datasets_by_ids_with_http_info(dataset, **kwargs) # noqa: E501 + return data + except ApiException as err: + if err.status in [429,500] and attempts < 2: + attempts += 1 + time.sleep(3) + else: + raise err + + def get_datasets_by_ids_with_http_info(self, dataset, **kwargs): # noqa: E501 + """Retrieve datasets by their identifiers # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_datasets_by_ids_with_http_info(dataset, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[object] dataset: (required) + :param FilterArgExpressionExperiment filter: + :param int offset: + :param int limit: + :param SortArgExpressionExperiment sort: + :return: FilteredAndInferredAndPaginatedResponseDataObjectExpressionExperimentValueObject + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['dataset', 'filter', 'offset', 'limit', 'sort'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + all_params.append('_force_table') + + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_datasets_by_ids" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'dataset' is set + if ('dataset' not in params or + params['dataset'] is None): + raise ValueError("Missing the required parameter `dataset` when calling `get_datasets_by_ids`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'dataset' in params: + path_params['dataset'] = params['dataset'] # noqa: E501 + collection_formats['dataset'] = '' # noqa: E501 + + query_params = [] + if 'filter' in params: + query_params.append(('filter', params['filter'])) # noqa: E501 + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'sort' in params: + query_params.append(('sort', params['sort'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + if not kwargs.get('_force_table'): + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + response_type = 'FilteredAndInferredAndPaginatedResponseDataObjectExpressionExperimentValueObject' # noqa: E501 + else: + header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' + response_type = 'str' + + + # Authentication setting + auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 + + return self.api_client.call_api( + '/datasets/{dataset}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=response_type, + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_datasets_categories_usage_statistics(self, **kwargs): # noqa: E501 + """Retrieve usage statistics of categories among datasets matching the provided query and filter # noqa: E501 + + Usage statistics are aggregated across experiment tags, samples and factor values mentioned in the experimental design. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_datasets_categories_usage_statistics(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param QueryArg query: + :param FilterArgExpressionExperiment filter: + :param int limit: + :return: QueriedAndFilteredAndInferredAndLimitedResponseDataObjectCategoryWithUsageStatisticsValueObject + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + + + attempts = 0 + + while True: + try: + if kwargs.get('async_req'): + return self.get_datasets_categories_usage_statistics_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_datasets_categories_usage_statistics_with_http_info(**kwargs) # noqa: E501 + return data + except ApiException as err: + if err.status in [429,500] and attempts < 2: + attempts += 1 + time.sleep(3) + else: + raise err + + def get_datasets_categories_usage_statistics_with_http_info(self, **kwargs): # noqa: E501 + """Retrieve usage statistics of categories among datasets matching the provided query and filter # noqa: E501 + + Usage statistics are aggregated across experiment tags, samples and factor values mentioned in the experimental design. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_datasets_categories_usage_statistics_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param QueryArg query: + :param FilterArgExpressionExperiment filter: + :param int limit: + :return: QueriedAndFilteredAndInferredAndLimitedResponseDataObjectCategoryWithUsageStatisticsValueObject + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['query', 'filter', 'limit'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + all_params.append('_force_table') + + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_datasets_categories_usage_statistics" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'query' in params: + query_params.append(('query', params['query'])) # noqa: E501 + if 'filter' in params: + query_params.append(('filter', params['filter'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + if not kwargs.get('_force_table'): + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + response_type = 'QueriedAndFilteredAndInferredAndLimitedResponseDataObjectCategoryWithUsageStatisticsValueObject' # noqa: E501 + else: + header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' + response_type = 'str' + + + # Authentication setting + auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 + + return self.api_client.call_api( + '/datasets/categories', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=response_type, + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_datasets_differential_expression(self, datasets, **kwargs): # noqa: E501 + """Retrieve the expression levels of a set of datasets subject to a threshold on their differential expressions # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_datasets_differential_expression(datasets, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[object] datasets: (required) + :param int diff_ex_set: + :param float threshold: + :param int limit: + :param bool keep_non_specific: + :param str consolidate: + :return: ResponseDataObjectListExperimentExpressionLevelsValueObject + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + + + attempts = 0 + + while True: + try: + if kwargs.get('async_req'): + return self.get_datasets_differential_expression_with_http_info(datasets, **kwargs) # noqa: E501 + else: + (data) = self.get_datasets_differential_expression_with_http_info(datasets, **kwargs) # noqa: E501 + return data + except ApiException as err: + if err.status in [429,500] and attempts < 2: + attempts += 1 + time.sleep(3) + else: + raise err + + def get_datasets_differential_expression_with_http_info(self, datasets, **kwargs): # noqa: E501 + """Retrieve the expression levels of a set of datasets subject to a threshold on their differential expressions # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_datasets_differential_expression_with_http_info(datasets, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[object] datasets: (required) + :param int diff_ex_set: + :param float threshold: + :param int limit: + :param bool keep_non_specific: + :param str consolidate: + :return: ResponseDataObjectListExperimentExpressionLevelsValueObject + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['datasets', 'diff_ex_set', 'threshold', 'limit', 'keep_non_specific', 'consolidate'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + all_params.append('_force_table') + + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_datasets_differential_expression" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'datasets' is set + if ('datasets' not in params or + params['datasets'] is None): + raise ValueError("Missing the required parameter `datasets` when calling `get_datasets_differential_expression`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'datasets' in params: + path_params['datasets'] = params['datasets'] # noqa: E501 + collection_formats['datasets'] = '' # noqa: E501 + + query_params = [] + if 'diff_ex_set' in params: + query_params.append(('diffExSet', params['diff_ex_set'])) # noqa: E501 + if 'threshold' in params: + query_params.append(('threshold', params['threshold'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'keep_non_specific' in params: + query_params.append(('keepNonSpecific', params['keep_non_specific'])) # noqa: E501 + if 'consolidate' in params: + query_params.append(('consolidate', params['consolidate'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + if not kwargs.get('_force_table'): + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + response_type = 'ResponseDataObjectListExperimentExpressionLevelsValueObject' # noqa: E501 + else: + header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' + response_type = 'str' + + + # Authentication setting + auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 + + return self.api_client.call_api( + '/datasets/{datasets}/expressions/differential', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=response_type, + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_datasets_differential_expression_analysis_results_for_gene(self, gene, **kwargs): # noqa: E501 + """Retrieve the differential expression results for a given gene among datasets matching the provided query and filter # noqa: E501 + + Pagination with `offset` and `limit` is done on the datasets, thus `data` will hold a variable number of results. If a result set has more than one probe for a given gene, the result corresponding to the lowest corrected P-value is retained. This statistic reflects the goodness of the fit of the linear model for the probe, and not the significance of the contrasts. Results for non-specific probes (i.e. probes that map to more than one genes) are excluded. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_datasets_differential_expression_analysis_results_for_gene(gene, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Gene gene: (required) + :param QueryArg query: + :param FilterArgExpressionExperiment filter: + :param int offset: + :param int limit: + :param float threshold: Maximum threshold on the corrected P-value to retain a result. The threshold is inclusive (i.e. 0.05 will match results with corrected P-values lower or equal to 0.05). + :return: QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + + + attempts = 0 + + while True: + try: + if kwargs.get('async_req'): + return self.get_datasets_differential_expression_analysis_results_for_gene_with_http_info(gene, **kwargs) # noqa: E501 + else: + (data) = self.get_datasets_differential_expression_analysis_results_for_gene_with_http_info(gene, **kwargs) # noqa: E501 + return data + except ApiException as err: + if err.status in [429,500] and attempts < 2: + attempts += 1 + time.sleep(3) + else: + raise err + + def get_datasets_differential_expression_analysis_results_for_gene_with_http_info(self, gene, **kwargs): # noqa: E501 + """Retrieve the differential expression results for a given gene among datasets matching the provided query and filter # noqa: E501 + + Pagination with `offset` and `limit` is done on the datasets, thus `data` will hold a variable number of results. If a result set has more than one probe for a given gene, the result corresponding to the lowest corrected P-value is retained. This statistic reflects the goodness of the fit of the linear model for the probe, and not the significance of the contrasts. Results for non-specific probes (i.e. probes that map to more than one genes) are excluded. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_datasets_differential_expression_analysis_results_for_gene_with_http_info(gene, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Gene gene: (required) + :param QueryArg query: + :param FilterArgExpressionExperiment filter: + :param int offset: + :param int limit: + :param float threshold: Maximum threshold on the corrected P-value to retain a result. The threshold is inclusive (i.e. 0.05 will match results with corrected P-values lower or equal to 0.05). + :return: QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['gene', 'query', 'filter', 'offset', 'limit', 'threshold'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + all_params.append('_force_table') + + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_datasets_differential_expression_analysis_results_for_gene" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'gene' is set + if ('gene' not in params or + params['gene'] is None): + raise ValueError("Missing the required parameter `gene` when calling `get_datasets_differential_expression_analysis_results_for_gene`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'gene' in params: + path_params['gene'] = params['gene'] # noqa: E501 + + query_params = [] + if 'query' in params: + query_params.append(('query', params['query'])) # noqa: E501 + if 'filter' in params: + query_params.append(('filter', params['filter'])) # noqa: E501 + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'threshold' in params: + query_params.append(('threshold', params['threshold'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + if not kwargs.get('_force_table'): + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'text/tab-separated-values; charset=UTF-8']) # noqa: E501 + response_type = 'QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject' # noqa: E501 + else: + header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' + response_type = 'str' + + + # Authentication setting + auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 + + return self.api_client.call_api( + '/datasets/analyses/differential/results/genes/{gene}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=response_type, + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_datasets_differential_expression_analysis_results_for_gene_in_taxon(self, taxon, gene, **kwargs): # noqa: E501 + """Retrieve the differential expression results for a given gene and taxa among datasets matching the provided query and filter # noqa: E501 + + Pagination with `offset` and `limit` is done on the datasets, thus `data` will hold a variable number of results. If a result set has more than one probe for a given gene, the result corresponding to the lowest corrected P-value is retained. This statistic reflects the goodness of the fit of the linear model for the probe, and not the significance of the contrasts. Results for non-specific probes (i.e. probes that map to more than one genes) are excluded. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_datasets_differential_expression_analysis_results_for_gene_in_taxon(taxon, gene, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Taxon2 taxon: (required) + :param Gene1 gene: (required) + :param QueryArg query: + :param FilterArgExpressionExperiment filter: + :param int offset: + :param int limit: + :param float threshold: Maximum threshold on the corrected P-value to retain a result. The threshold is inclusive (i.e. 0.05 will match results with corrected P-values lower or equal to 0.05). + :return: QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + + + attempts = 0 + + while True: + try: + if kwargs.get('async_req'): + return self.get_datasets_differential_expression_analysis_results_for_gene_in_taxon_with_http_info(taxon, gene, **kwargs) # noqa: E501 + else: + (data) = self.get_datasets_differential_expression_analysis_results_for_gene_in_taxon_with_http_info(taxon, gene, **kwargs) # noqa: E501 + return data + except ApiException as err: + if err.status in [429,500] and attempts < 2: + attempts += 1 + time.sleep(3) + else: + raise err + + def get_datasets_differential_expression_analysis_results_for_gene_in_taxon_with_http_info(self, taxon, gene, **kwargs): # noqa: E501 + """Retrieve the differential expression results for a given gene and taxa among datasets matching the provided query and filter # noqa: E501 + + Pagination with `offset` and `limit` is done on the datasets, thus `data` will hold a variable number of results. If a result set has more than one probe for a given gene, the result corresponding to the lowest corrected P-value is retained. This statistic reflects the goodness of the fit of the linear model for the probe, and not the significance of the contrasts. Results for non-specific probes (i.e. probes that map to more than one genes) are excluded. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_datasets_differential_expression_analysis_results_for_gene_in_taxon_with_http_info(taxon, gene, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Taxon2 taxon: (required) + :param Gene1 gene: (required) + :param QueryArg query: + :param FilterArgExpressionExperiment filter: + :param int offset: + :param int limit: + :param float threshold: Maximum threshold on the corrected P-value to retain a result. The threshold is inclusive (i.e. 0.05 will match results with corrected P-values lower or equal to 0.05). + :return: QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['taxon', 'gene', 'query', 'filter', 'offset', 'limit', 'threshold'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + all_params.append('_force_table') + + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_datasets_differential_expression_analysis_results_for_gene_in_taxon" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'taxon' is set + if ('taxon' not in params or + params['taxon'] is None): + raise ValueError("Missing the required parameter `taxon` when calling `get_datasets_differential_expression_analysis_results_for_gene_in_taxon`") # noqa: E501 + # verify the required parameter 'gene' is set + if ('gene' not in params or + params['gene'] is None): + raise ValueError("Missing the required parameter `gene` when calling `get_datasets_differential_expression_analysis_results_for_gene_in_taxon`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'taxon' in params: + path_params['taxon'] = params['taxon'] # noqa: E501 + if 'gene' in params: + path_params['gene'] = params['gene'] # noqa: E501 + + query_params = [] + if 'query' in params: + query_params.append(('query', params['query'])) # noqa: E501 + if 'filter' in params: + query_params.append(('filter', params['filter'])) # noqa: E501 + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'threshold' in params: + query_params.append(('threshold', params['threshold'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + if not kwargs.get('_force_table'): + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'text/tab-separated-values; charset=UTF-8']) # noqa: E501 + response_type = 'QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject' # noqa: E501 + else: + header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' + response_type = 'str' + + + # Authentication setting + auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 + + return self.api_client.call_api( + '/datasets/analyses/differential/results/taxa/{taxon}/genes/{gene}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=response_type, + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_datasets_expression_levels_for_gene(self, gene, **kwargs): # noqa: E501 + """Retrieve the expression levels of a gene among datasets matching the provided query and filter # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_datasets_expression_levels_for_gene(gene, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Gene2 gene: (required) + :param QueryArg query: + :param FilterArgExpressionExperiment filter: + :param int offset: + :param int limit: + :param bool keep_non_specific: + :param str consolidate: + :return: PaginatedResponseDataObjectExperimentExpressionLevelsValueObject + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + + + attempts = 0 + + while True: + try: + if kwargs.get('async_req'): + return self.get_datasets_expression_levels_for_gene_with_http_info(gene, **kwargs) # noqa: E501 + else: + (data) = self.get_datasets_expression_levels_for_gene_with_http_info(gene, **kwargs) # noqa: E501 + return data + except ApiException as err: + if err.status in [429,500] and attempts < 2: + attempts += 1 + time.sleep(3) + else: + raise err + + def get_datasets_expression_levels_for_gene_with_http_info(self, gene, **kwargs): # noqa: E501 + """Retrieve the expression levels of a gene among datasets matching the provided query and filter # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_datasets_expression_levels_for_gene_with_http_info(gene, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Gene2 gene: (required) + :param QueryArg query: + :param FilterArgExpressionExperiment filter: + :param int offset: + :param int limit: + :param bool keep_non_specific: + :param str consolidate: + :return: PaginatedResponseDataObjectExperimentExpressionLevelsValueObject + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['gene', 'query', 'filter', 'offset', 'limit', 'keep_non_specific', 'consolidate'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + all_params.append('_force_table') + + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_datasets_expression_levels_for_gene" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'gene' is set + if ('gene' not in params or + params['gene'] is None): + raise ValueError("Missing the required parameter `gene` when calling `get_datasets_expression_levels_for_gene`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'gene' in params: + path_params['gene'] = params['gene'] # noqa: E501 + + query_params = [] + if 'query' in params: + query_params.append(('query', params['query'])) # noqa: E501 + if 'filter' in params: + query_params.append(('filter', params['filter'])) # noqa: E501 + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + if 'keep_non_specific' in params: + query_params.append(('keepNonSpecific', params['keep_non_specific'])) # noqa: E501 + if 'consolidate' in params: + query_params.append(('consolidate', params['consolidate'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + if not kwargs.get('_force_table'): + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + response_type = 'PaginatedResponseDataObjectExperimentExpressionLevelsValueObject' # noqa: E501 + else: + header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' + response_type = 'str' + + + # Authentication setting + auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 + + return self.api_client.call_api( + '/datasets/expressions/genes/{gene}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=response_type, + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_datasets_expression_levels_for_gene_in_taxon(self, taxon, gene, **kwargs): # noqa: E501 + """Retrieve the expression levels of a gene and taxa among datasets matching the provided query and filter # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_datasets_expression_levels_for_gene_in_taxon(taxon, gene, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Taxon3 taxon: (required) + :param Gene3 gene: (required) + :param QueryArg query: + :param FilterArgExpressionExperiment filter: + :param int offset: + :param int limit: + :param bool keep_non_specific: + :param str consolidate: + :return: PaginatedResponseDataObjectExperimentExpressionLevelsValueObject + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + + + attempts = 0 + + while True: + try: + if kwargs.get('async_req'): + return self.get_datasets_expression_levels_for_gene_in_taxon_with_http_info(taxon, gene, **kwargs) # noqa: E501 + else: + (data) = self.get_datasets_expression_levels_for_gene_in_taxon_with_http_info(taxon, gene, **kwargs) # noqa: E501 + return data + except ApiException as err: + if err.status in [429,500] and attempts < 2: + attempts += 1 + time.sleep(3) + else: + raise err + + def get_datasets_expression_levels_for_gene_in_taxon_with_http_info(self, taxon, gene, **kwargs): # noqa: E501 + """Retrieve the expression levels of a gene and taxa among datasets matching the provided query and filter # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_datasets_expression_levels_for_gene_in_taxon_with_http_info(taxon, gene, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Taxon3 taxon: (required) + :param Gene3 gene: (required) + :param QueryArg query: + :param FilterArgExpressionExperiment filter: + :param int offset: + :param int limit: + :param bool keep_non_specific: + :param str consolidate: + :return: PaginatedResponseDataObjectExperimentExpressionLevelsValueObject + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['taxon', 'gene', 'query', 'filter', 'offset', 'limit', 'keep_non_specific', 'consolidate'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2006,14 +2884,26 @@ def get_datasets_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_datasets" % key + " to method get_datasets_expression_levels_for_gene_in_taxon" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'taxon' is set + if ('taxon' not in params or + params['taxon'] is None): + raise ValueError("Missing the required parameter `taxon` when calling `get_datasets_expression_levels_for_gene_in_taxon`") # noqa: E501 + # verify the required parameter 'gene' is set + if ('gene' not in params or + params['gene'] is None): + raise ValueError("Missing the required parameter `gene` when calling `get_datasets_expression_levels_for_gene_in_taxon`") # noqa: E501 collection_formats = {} path_params = {} + if 'taxon' in params: + path_params['taxon'] = params['taxon'] # noqa: E501 + if 'gene' in params: + path_params['gene'] = params['gene'] # noqa: E501 query_params = [] if 'query' in params: @@ -2024,8 +2914,10 @@ def get_datasets_with_http_info(self, **kwargs): # noqa: E501 query_params.append(('offset', params['offset'])) # noqa: E501 if 'limit' in params: query_params.append(('limit', params['limit'])) # noqa: E501 - if 'sort' in params: - query_params.append(('sort', params['sort'])) # noqa: E501 + if 'keep_non_specific' in params: + query_params.append(('keepNonSpecific', params['keep_non_specific'])) # noqa: E501 + if 'consolidate' in params: + query_params.append(('consolidate', params['consolidate'])) # noqa: E501 header_params = {} @@ -2037,7 +2929,7 @@ def get_datasets_with_http_info(self, **kwargs): # noqa: E501 if not kwargs.get('_force_table'): header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 - response_type = 'QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectExpressionExperimentWithSearchResultValueObject' # noqa: E501 + response_type = 'PaginatedResponseDataObjectExperimentExpressionLevelsValueObject' # noqa: E501 else: header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' response_type = 'str' @@ -2047,7 +2939,7 @@ def get_datasets_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 return self.api_client.call_api( - '/datasets', 'GET', + '/datasets/expressions/taxa/{taxon}/genes/{gene}', 'GET', path_params, query_params, header_params, @@ -2062,23 +2954,20 @@ def get_datasets_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_datasets_annotations_usage_statistics(self, **kwargs): # noqa: E501 - """Retrieve usage statistics of annotations among datasets matching the provided query and filter # noqa: E501 + def get_datasets_expression_levels_for_genes(self, datasets, genes, **kwargs): # noqa: E501 + """Retrieve the expression data matrix of a set of datasets and genes # noqa: E501 - Usage statistics are aggregated across experiment tags, samples and factor values mentioned in the experimental design. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_datasets_annotations_usage_statistics(async_req=True) + >>> thread = api.get_datasets_expression_levels_for_genes(datasets, genes, async_req=True) >>> result = thread.get() :param async_req bool - :param QueryArg query: - :param FilterArgExpressionExperiment filter: - :param list[str] exclude: List of fields to exclude from the payload. Only `parentTerms` can be excluded. - :param int limit: Maximum number of annotations to returned; capped at 5000. - :param int min_frequency: Minimum number of associated datasets to report an annotation. If used, the limit will default to 5000. - :param str category: A category URI to restrict reported annotations. If unspecified, annotations from all categories are reported. If empty, uncategorized terms are reported. - :return: QueriedAndFilteredAndInferredAndLimitedResponseDataObjectAnnotationWithUsageStatisticsValueObject + :param list[object] datasets: (required) + :param list[object] genes: (required) + :param bool keep_non_specific: + :param str consolidate: + :return: ResponseDataObjectListExperimentExpressionLevelsValueObject If the method is called asynchronously, returns the request thread. """ @@ -2090,9 +2979,9 @@ def get_datasets_annotations_usage_statistics(self, **kwargs): # noqa: E501 while True: try: if kwargs.get('async_req'): - return self.get_datasets_annotations_usage_statistics_with_http_info(**kwargs) # noqa: E501 + return self.get_datasets_expression_levels_for_genes_with_http_info(datasets, genes, **kwargs) # noqa: E501 else: - (data) = self.get_datasets_annotations_usage_statistics_with_http_info(**kwargs) # noqa: E501 + (data) = self.get_datasets_expression_levels_for_genes_with_http_info(datasets, genes, **kwargs) # noqa: E501 return data except ApiException as err: if err.status in [429,500] and attempts < 2: @@ -2101,28 +2990,25 @@ def get_datasets_annotations_usage_statistics(self, **kwargs): # noqa: E501 else: raise err - def get_datasets_annotations_usage_statistics_with_http_info(self, **kwargs): # noqa: E501 - """Retrieve usage statistics of annotations among datasets matching the provided query and filter # noqa: E501 + def get_datasets_expression_levels_for_genes_with_http_info(self, datasets, genes, **kwargs): # noqa: E501 + """Retrieve the expression data matrix of a set of datasets and genes # noqa: E501 - Usage statistics are aggregated across experiment tags, samples and factor values mentioned in the experimental design. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_datasets_annotations_usage_statistics_with_http_info(async_req=True) + >>> thread = api.get_datasets_expression_levels_for_genes_with_http_info(datasets, genes, async_req=True) >>> result = thread.get() :param async_req bool - :param QueryArg query: - :param FilterArgExpressionExperiment filter: - :param list[str] exclude: List of fields to exclude from the payload. Only `parentTerms` can be excluded. - :param int limit: Maximum number of annotations to returned; capped at 5000. - :param int min_frequency: Minimum number of associated datasets to report an annotation. If used, the limit will default to 5000. - :param str category: A category URI to restrict reported annotations. If unspecified, annotations from all categories are reported. If empty, uncategorized terms are reported. - :return: QueriedAndFilteredAndInferredAndLimitedResponseDataObjectAnnotationWithUsageStatisticsValueObject + :param list[object] datasets: (required) + :param list[object] genes: (required) + :param bool keep_non_specific: + :param str consolidate: + :return: ResponseDataObjectListExperimentExpressionLevelsValueObject If the method is called asynchronously, returns the request thread. """ - all_params = ['query', 'filter', 'exclude', 'limit', 'min_frequency', 'category'] # noqa: E501 + all_params = ['datasets', 'genes', 'keep_non_specific', 'consolidate'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2135,29 +3021,34 @@ def get_datasets_annotations_usage_statistics_with_http_info(self, **kwargs): # if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_datasets_annotations_usage_statistics" % key + " to method get_datasets_expression_levels_for_genes" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'datasets' is set + if ('datasets' not in params or + params['datasets'] is None): + raise ValueError("Missing the required parameter `datasets` when calling `get_datasets_expression_levels_for_genes`") # noqa: E501 + # verify the required parameter 'genes' is set + if ('genes' not in params or + params['genes'] is None): + raise ValueError("Missing the required parameter `genes` when calling `get_datasets_expression_levels_for_genes`") # noqa: E501 collection_formats = {} path_params = {} + if 'datasets' in params: + path_params['datasets'] = params['datasets'] # noqa: E501 + collection_formats['datasets'] = '' # noqa: E501 + if 'genes' in params: + path_params['genes'] = params['genes'] # noqa: E501 + collection_formats['genes'] = '' # noqa: E501 query_params = [] - if 'query' in params: - query_params.append(('query', params['query'])) # noqa: E501 - if 'filter' in params: - query_params.append(('filter', params['filter'])) # noqa: E501 - if 'exclude' in params: - query_params.append(('exclude', params['exclude'])) # noqa: E501 - collection_formats['exclude'] = 'multi' # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'min_frequency' in params: - query_params.append(('minFrequency', params['min_frequency'])) # noqa: E501 - if 'category' in params: - query_params.append(('category', params['category'])) # noqa: E501 + if 'keep_non_specific' in params: + query_params.append(('keepNonSpecific', params['keep_non_specific'])) # noqa: E501 + if 'consolidate' in params: + query_params.append(('consolidate', params['consolidate'])) # noqa: E501 header_params = {} @@ -2169,7 +3060,7 @@ def get_datasets_annotations_usage_statistics_with_http_info(self, **kwargs): # if not kwargs.get('_force_table'): header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 - response_type = 'QueriedAndFilteredAndInferredAndLimitedResponseDataObjectAnnotationWithUsageStatisticsValueObject' # noqa: E501 + response_type = 'ResponseDataObjectListExperimentExpressionLevelsValueObject' # noqa: E501 else: header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' response_type = 'str' @@ -2179,7 +3070,7 @@ def get_datasets_annotations_usage_statistics_with_http_info(self, **kwargs): # auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 return self.api_client.call_api( - '/datasets/annotations', 'GET', + '/datasets/{datasets}/expressions/genes/{genes}', 'GET', path_params, query_params, header_params, @@ -2194,21 +3085,21 @@ def get_datasets_annotations_usage_statistics_with_http_info(self, **kwargs): # _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_datasets_by_ids(self, dataset, **kwargs): # noqa: E501 - """Retrieve datasets by their identifiers # noqa: E501 + def get_datasets_expression_levels_for_genes_in_taxon(self, datasets, taxon, genes, **kwargs): # noqa: E501 + """Retrieve the expression data matrix of a set of datasets and genes # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_datasets_by_ids(dataset, async_req=True) + >>> thread = api.get_datasets_expression_levels_for_genes_in_taxon(datasets, taxon, genes, async_req=True) >>> result = thread.get() :param async_req bool - :param list[object] dataset: (required) - :param FilterArgExpressionExperiment filter: - :param int offset: - :param int limit: - :param SortArgExpressionExperiment sort: - :return: FilteredAndInferredAndPaginatedResponseDataObjectExpressionExperimentValueObject + :param list[object] datasets: (required) + :param Taxon4 taxon: (required) + :param list[object] genes: (required) + :param bool keep_non_specific: + :param str consolidate: + :return: ResponseDataObjectListExperimentExpressionLevelsValueObject If the method is called asynchronously, returns the request thread. """ @@ -2220,9 +3111,9 @@ def get_datasets_by_ids(self, dataset, **kwargs): # noqa: E501 while True: try: if kwargs.get('async_req'): - return self.get_datasets_by_ids_with_http_info(dataset, **kwargs) # noqa: E501 + return self.get_datasets_expression_levels_for_genes_in_taxon_with_http_info(datasets, taxon, genes, **kwargs) # noqa: E501 else: - (data) = self.get_datasets_by_ids_with_http_info(dataset, **kwargs) # noqa: E501 + (data) = self.get_datasets_expression_levels_for_genes_in_taxon_with_http_info(datasets, taxon, genes, **kwargs) # noqa: E501 return data except ApiException as err: if err.status in [429,500] and attempts < 2: @@ -2231,26 +3122,26 @@ def get_datasets_by_ids(self, dataset, **kwargs): # noqa: E501 else: raise err - def get_datasets_by_ids_with_http_info(self, dataset, **kwargs): # noqa: E501 - """Retrieve datasets by their identifiers # noqa: E501 + def get_datasets_expression_levels_for_genes_in_taxon_with_http_info(self, datasets, taxon, genes, **kwargs): # noqa: E501 + """Retrieve the expression data matrix of a set of datasets and genes # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_datasets_by_ids_with_http_info(dataset, async_req=True) + >>> thread = api.get_datasets_expression_levels_for_genes_in_taxon_with_http_info(datasets, taxon, genes, async_req=True) >>> result = thread.get() :param async_req bool - :param list[object] dataset: (required) - :param FilterArgExpressionExperiment filter: - :param int offset: - :param int limit: - :param SortArgExpressionExperiment sort: - :return: FilteredAndInferredAndPaginatedResponseDataObjectExpressionExperimentValueObject + :param list[object] datasets: (required) + :param Taxon4 taxon: (required) + :param list[object] genes: (required) + :param bool keep_non_specific: + :param str consolidate: + :return: ResponseDataObjectListExperimentExpressionLevelsValueObject If the method is called asynchronously, returns the request thread. """ - all_params = ['dataset', 'filter', 'offset', 'limit', 'sort'] # noqa: E501 + all_params = ['datasets', 'taxon', 'genes', 'keep_non_specific', 'consolidate'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2263,31 +3154,40 @@ def get_datasets_by_ids_with_http_info(self, dataset, **kwargs): # noqa: E501 if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_datasets_by_ids" % key + " to method get_datasets_expression_levels_for_genes_in_taxon" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'dataset' is set - if ('dataset' not in params or - params['dataset'] is None): - raise ValueError("Missing the required parameter `dataset` when calling `get_datasets_by_ids`") # noqa: E501 + # verify the required parameter 'datasets' is set + if ('datasets' not in params or + params['datasets'] is None): + raise ValueError("Missing the required parameter `datasets` when calling `get_datasets_expression_levels_for_genes_in_taxon`") # noqa: E501 + # verify the required parameter 'taxon' is set + if ('taxon' not in params or + params['taxon'] is None): + raise ValueError("Missing the required parameter `taxon` when calling `get_datasets_expression_levels_for_genes_in_taxon`") # noqa: E501 + # verify the required parameter 'genes' is set + if ('genes' not in params or + params['genes'] is None): + raise ValueError("Missing the required parameter `genes` when calling `get_datasets_expression_levels_for_genes_in_taxon`") # noqa: E501 collection_formats = {} path_params = {} - if 'dataset' in params: - path_params['dataset'] = params['dataset'] # noqa: E501 - collection_formats['dataset'] = '' # noqa: E501 + if 'datasets' in params: + path_params['datasets'] = params['datasets'] # noqa: E501 + collection_formats['datasets'] = '' # noqa: E501 + if 'taxon' in params: + path_params['taxon'] = params['taxon'] # noqa: E501 + if 'genes' in params: + path_params['genes'] = params['genes'] # noqa: E501 + collection_formats['genes'] = '' # noqa: E501 query_params = [] - if 'filter' in params: - query_params.append(('filter', params['filter'])) # noqa: E501 - if 'offset' in params: - query_params.append(('offset', params['offset'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'sort' in params: - query_params.append(('sort', params['sort'])) # noqa: E501 + if 'keep_non_specific' in params: + query_params.append(('keepNonSpecific', params['keep_non_specific'])) # noqa: E501 + if 'consolidate' in params: + query_params.append(('consolidate', params['consolidate'])) # noqa: E501 header_params = {} @@ -2299,7 +3199,7 @@ def get_datasets_by_ids_with_http_info(self, dataset, **kwargs): # noqa: E501 if not kwargs.get('_force_table'): header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 - response_type = 'FilteredAndInferredAndPaginatedResponseDataObjectExpressionExperimentValueObject' # noqa: E501 + response_type = 'ResponseDataObjectListExperimentExpressionLevelsValueObject' # noqa: E501 else: header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' response_type = 'str' @@ -2309,7 +3209,7 @@ def get_datasets_by_ids_with_http_info(self, dataset, **kwargs): # noqa: E501 auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 return self.api_client.call_api( - '/datasets/{dataset}', 'GET', + '/datasets/{datasets}/expressions/taxa/{taxon}/genes/{genes}', 'GET', path_params, query_params, header_params, @@ -2324,20 +3224,21 @@ def get_datasets_by_ids_with_http_info(self, dataset, **kwargs): # noqa: E501 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_datasets_categories_usage_statistics(self, **kwargs): # noqa: E501 - """Retrieve usage statistics of categories among datasets matching the provided query and filter # noqa: E501 + def get_datasets_expression_pca(self, datasets, **kwargs): # noqa: E501 + """Retrieve the principal components (PCA) of a set of datasets # noqa: E501 - Usage statistics are aggregated across experiment tags, samples and factor values mentioned in the experimental design. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_datasets_categories_usage_statistics(async_req=True) + >>> thread = api.get_datasets_expression_pca(datasets, async_req=True) >>> result = thread.get() :param async_req bool - :param QueryArg query: - :param FilterArgExpressionExperiment filter: + :param list[object] datasets: (required) + :param int component: :param int limit: - :return: QueriedAndFilteredAndInferredAndLimitedResponseDataObjectCategoryWithUsageStatisticsValueObject + :param bool keep_non_specific: + :param str consolidate: + :return: ResponseDataObjectListExperimentExpressionLevelsValueObject If the method is called asynchronously, returns the request thread. """ @@ -2349,9 +3250,9 @@ def get_datasets_categories_usage_statistics(self, **kwargs): # noqa: E501 while True: try: if kwargs.get('async_req'): - return self.get_datasets_categories_usage_statistics_with_http_info(**kwargs) # noqa: E501 + return self.get_datasets_expression_pca_with_http_info(datasets, **kwargs) # noqa: E501 else: - (data) = self.get_datasets_categories_usage_statistics_with_http_info(**kwargs) # noqa: E501 + (data) = self.get_datasets_expression_pca_with_http_info(datasets, **kwargs) # noqa: E501 return data except ApiException as err: if err.status in [429,500] and attempts < 2: @@ -2360,25 +3261,26 @@ def get_datasets_categories_usage_statistics(self, **kwargs): # noqa: E501 else: raise err - def get_datasets_categories_usage_statistics_with_http_info(self, **kwargs): # noqa: E501 - """Retrieve usage statistics of categories among datasets matching the provided query and filter # noqa: E501 + def get_datasets_expression_pca_with_http_info(self, datasets, **kwargs): # noqa: E501 + """Retrieve the principal components (PCA) of a set of datasets # noqa: E501 - Usage statistics are aggregated across experiment tags, samples and factor values mentioned in the experimental design. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_datasets_categories_usage_statistics_with_http_info(async_req=True) + >>> thread = api.get_datasets_expression_pca_with_http_info(datasets, async_req=True) >>> result = thread.get() :param async_req bool - :param QueryArg query: - :param FilterArgExpressionExperiment filter: + :param list[object] datasets: (required) + :param int component: :param int limit: - :return: QueriedAndFilteredAndInferredAndLimitedResponseDataObjectCategoryWithUsageStatisticsValueObject + :param bool keep_non_specific: + :param str consolidate: + :return: ResponseDataObjectListExperimentExpressionLevelsValueObject If the method is called asynchronously, returns the request thread. """ - all_params = ['query', 'filter', 'limit'] # noqa: E501 + all_params = ['datasets', 'component', 'limit', 'keep_non_specific', 'consolidate'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2391,22 +3293,31 @@ def get_datasets_categories_usage_statistics_with_http_info(self, **kwargs): # if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_datasets_categories_usage_statistics" % key + " to method get_datasets_expression_pca" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'datasets' is set + if ('datasets' not in params or + params['datasets'] is None): + raise ValueError("Missing the required parameter `datasets` when calling `get_datasets_expression_pca`") # noqa: E501 collection_formats = {} path_params = {} + if 'datasets' in params: + path_params['datasets'] = params['datasets'] # noqa: E501 + collection_formats['datasets'] = '' # noqa: E501 query_params = [] - if 'query' in params: - query_params.append(('query', params['query'])) # noqa: E501 - if 'filter' in params: - query_params.append(('filter', params['filter'])) # noqa: E501 + if 'component' in params: + query_params.append(('component', params['component'])) # noqa: E501 if 'limit' in params: query_params.append(('limit', params['limit'])) # noqa: E501 + if 'keep_non_specific' in params: + query_params.append(('keepNonSpecific', params['keep_non_specific'])) # noqa: E501 + if 'consolidate' in params: + query_params.append(('consolidate', params['consolidate'])) # noqa: E501 header_params = {} @@ -2418,7 +3329,7 @@ def get_datasets_categories_usage_statistics_with_http_info(self, **kwargs): # if not kwargs.get('_force_table'): header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 - response_type = 'QueriedAndFilteredAndInferredAndLimitedResponseDataObjectCategoryWithUsageStatisticsValueObject' # noqa: E501 + response_type = 'ResponseDataObjectListExperimentExpressionLevelsValueObject' # noqa: E501 else: header_params['Accept'] = 'text/tab-separated-values; charset=UTF-8' response_type = 'str' @@ -2428,7 +3339,7 @@ def get_datasets_categories_usage_statistics_with_http_info(self, **kwargs): # auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501 return self.api_client.call_api( - '/datasets/categories', 'GET', + '/datasets/{datasets}/expressions/pca', 'GET', path_params, query_params, header_params, @@ -2684,7 +3595,7 @@ def get_gene_go_terms(self, gene, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Gene gene: (required) + :param Gene4 gene: (required) :return: ResponseDataObjectListGeneOntologyTermValueObject If the method is called asynchronously, returns the request thread. @@ -2717,7 +3628,7 @@ def get_gene_go_terms_with_http_info(self, gene, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Gene gene: (required) + :param Gene4 gene: (required) :return: ResponseDataObjectListGeneOntologyTermValueObject If the method is called asynchronously, returns the request thread. @@ -2797,7 +3708,7 @@ def get_gene_locations(self, gene, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Gene1 gene: (required) + :param Gene5 gene: (required) :return: ResponseDataObjectListPhysicalLocationValueObject If the method is called asynchronously, returns the request thread. @@ -2830,7 +3741,7 @@ def get_gene_locations_with_http_info(self, gene, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Gene1 gene: (required) + :param Gene5 gene: (required) :return: ResponseDataObjectListPhysicalLocationValueObject If the method is called asynchronously, returns the request thread. @@ -2910,7 +3821,7 @@ def get_gene_probes(self, gene, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Gene2 gene: (required) + :param Gene6 gene: (required) :param int offset: :param int limit: :return: PaginatedResponseDataObjectCompositeSequenceValueObject @@ -2945,7 +3856,7 @@ def get_gene_probes_with_http_info(self, gene, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Gene2 gene: (required) + :param Gene6 gene: (required) :param int offset: :param int limit: :return: PaginatedResponseDataObjectCompositeSequenceValueObject @@ -4931,7 +5842,7 @@ def get_taxon_datasets(self, taxon, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Taxon3 taxon: (required) + :param Taxon6 taxon: (required) :param FilterArgExpressionExperiment filter: :param int offset: :param int limit: @@ -4968,7 +5879,7 @@ def get_taxon_datasets_with_http_info(self, taxon, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Taxon3 taxon: (required) + :param Taxon6 taxon: (required) :param FilterArgExpressionExperiment filter: :param int offset: :param int limit: @@ -5060,8 +5971,8 @@ def get_taxon_gene_go_terms(self, taxon, gene, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Taxon4 taxon: (required) - :param Gene3 gene: (required) + :param Taxon7 taxon: (required) + :param Gene7 gene: (required) :return: ResponseDataObjectListGeneOntologyTermValueObject If the method is called asynchronously, returns the request thread. @@ -5094,8 +6005,8 @@ def get_taxon_gene_go_terms_with_http_info(self, taxon, gene, **kwargs): # noqa >>> result = thread.get() :param async_req bool - :param Taxon4 taxon: (required) - :param Gene3 gene: (required) + :param Taxon7 taxon: (required) + :param Gene7 gene: (required) :return: ResponseDataObjectListGeneOntologyTermValueObject If the method is called asynchronously, returns the request thread. @@ -5181,8 +6092,8 @@ def get_taxon_gene_locations(self, taxon, gene, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Taxon5 taxon: (required) - :param Gene4 gene: (required) + :param Taxon8 taxon: (required) + :param Gene8 gene: (required) :return: ResponseDataObjectListPhysicalLocationValueObject If the method is called asynchronously, returns the request thread. @@ -5215,8 +6126,8 @@ def get_taxon_gene_locations_with_http_info(self, taxon, gene, **kwargs): # noq >>> result = thread.get() :param async_req bool - :param Taxon5 taxon: (required) - :param Gene4 gene: (required) + :param Taxon8 taxon: (required) + :param Gene8 gene: (required) :return: ResponseDataObjectListPhysicalLocationValueObject If the method is called asynchronously, returns the request thread. @@ -5302,8 +6213,8 @@ def get_taxon_gene_probes(self, taxon, gene, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Taxon6 taxon: (required) - :param Gene5 gene: (required) + :param Taxon9 taxon: (required) + :param Gene9 gene: (required) :param int offset: :param int limit: :return: PaginatedResponseDataObjectCompositeSequenceValueObject @@ -5338,8 +6249,8 @@ def get_taxon_gene_probes_with_http_info(self, taxon, gene, **kwargs): # noqa: >>> result = thread.get() :param async_req bool - :param Taxon6 taxon: (required) - :param Gene5 gene: (required) + :param Taxon9 taxon: (required) + :param Gene9 gene: (required) :param int offset: :param int limit: :return: PaginatedResponseDataObjectCompositeSequenceValueObject @@ -5431,7 +6342,7 @@ def get_taxon_genes(self, taxon, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Taxon7 taxon: (required) + :param Taxon10 taxon: (required) :param int offset: :param int limit: :return: PaginatedResponseDataObjectGeneValueObject @@ -5466,7 +6377,7 @@ def get_taxon_genes_with_http_info(self, taxon, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Taxon7 taxon: (required) + :param Taxon10 taxon: (required) :param int offset: :param int limit: :return: PaginatedResponseDataObjectGeneValueObject @@ -5552,7 +6463,7 @@ def get_taxon_genes_by_ids(self, taxon, gene, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param Taxon8 taxon: (required) + :param Taxon11 taxon: (required) :param list[object] gene: (required) :return: ResponseDataObjectListGeneValueObject If the method is called asynchronously, @@ -5586,7 +6497,7 @@ def get_taxon_genes_by_ids_with_http_info(self, taxon, gene, **kwargs): # noqa: >>> result = thread.get() :param async_req bool - :param Taxon8 taxon: (required) + :param Taxon11 taxon: (required) :param list[object] gene: (required) :return: ResponseDataObjectListGeneValueObject If the method is called asynchronously, @@ -5674,7 +6585,7 @@ def get_taxon_genes_overlapping_chromosome(self, taxon, chromosome, start, size, >>> result = thread.get() :param async_req bool - :param Taxon9 taxon: (required) + :param Taxon12 taxon: (required) :param str chromosome: (required) :param int start: (required) :param int size: (required) @@ -5711,7 +6622,7 @@ def get_taxon_genes_overlapping_chromosome_with_http_info(self, taxon, chromosom >>> result = thread.get() :param async_req bool - :param Taxon9 taxon: (required) + :param Taxon12 taxon: (required) :param str chromosome: (required) :param int start: (required) :param int size: (required) @@ -5816,7 +6727,7 @@ def search(self, **kwargs): # noqa: E501 :param async_req bool :param QueryArg query: - :param Taxon2 taxon: + :param Taxon5 taxon: :param Platform5 platform: :param list[str] result_types: :param int limit: Maximum number of search results to return; capped at 2000 unless `resultObject` is excluded. @@ -5854,7 +6765,7 @@ def search_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool :param QueryArg query: - :param Taxon2 taxon: + :param Taxon5 taxon: :param Platform5 platform: :param list[str] result_types: :param int limit: Maximum number of search results to return; capped at 2000 unless `resultObject` is excluded. diff --git a/gemmapy/sdk/api_client.py b/gemmapy/sdk/api_client.py index 85440ac..c051b39 100644 --- a/gemmapy/sdk/api_client.py +++ b/gemmapy/sdk/api_client.py @@ -4,7 +4,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -73,7 +73,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'gemmapy/1.0.3' + self.user_agent = 'gemmapy/1.0.4' def __del__(self): self.pool.close() diff --git a/gemmapy/sdk/configuration.py b/gemmapy/sdk/configuration.py index fb0d1bd..fb1c2bc 100644 --- a/gemmapy/sdk/configuration.py +++ b/gemmapy/sdk/configuration.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -256,6 +256,6 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 2.7.5\n"\ + "Version of the API: 2.8.0\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/gemmapy/sdk/models/__init__.py b/gemmapy/sdk/models/__init__.py index 95c1ce6..5d817c9 100644 --- a/gemmapy/sdk/models/__init__.py +++ b/gemmapy/sdk/models/__init__.py @@ -6,7 +6,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -26,6 +26,7 @@ from gemmapy.sdk.models.bio_assay_value_object import BioAssayValueObject from gemmapy.sdk.models.bio_material_value_object import BioMaterialValueObject from gemmapy.sdk.models.bio_sequence_value_object import BioSequenceValueObject +from gemmapy.sdk.models.build_info_value_object import BuildInfoValueObject from gemmapy.sdk.models.category_with_usage_statistics_value_object import CategoryWithUsageStatisticsValueObject from gemmapy.sdk.models.characteristic_value_object import CharacteristicValueObject from gemmapy.sdk.models.citation_value_object import CitationValueObject @@ -37,6 +38,7 @@ from gemmapy.sdk.models.dataset import Dataset from gemmapy.sdk.models.dataset1 import Dataset1 from gemmapy.sdk.models.dataset10 import Dataset10 +from gemmapy.sdk.models.dataset11 import Dataset11 from gemmapy.sdk.models.dataset2 import Dataset2 from gemmapy.sdk.models.dataset3 import Dataset3 from gemmapy.sdk.models.dataset4 import Dataset4 @@ -47,6 +49,7 @@ from gemmapy.sdk.models.dataset9 import Dataset9 from gemmapy.sdk.models.dataset_arg import DatasetArg from gemmapy.sdk.models.diff_ex_result_set_summary_value_object import DiffExResultSetSummaryValueObject +from gemmapy.sdk.models.differential_expression_analysis_result_by_gene_value_object import DifferentialExpressionAnalysisResultByGeneValueObject from gemmapy.sdk.models.differential_expression_analysis_result_set_value_object import DifferentialExpressionAnalysisResultSetValueObject from gemmapy.sdk.models.differential_expression_analysis_result_value_object import DifferentialExpressionAnalysisResultValueObject from gemmapy.sdk.models.differential_expression_analysis_value_object import DifferentialExpressionAnalysisValueObject @@ -74,6 +77,10 @@ from gemmapy.sdk.models.gene3 import Gene3 from gemmapy.sdk.models.gene4 import Gene4 from gemmapy.sdk.models.gene5 import Gene5 +from gemmapy.sdk.models.gene6 import Gene6 +from gemmapy.sdk.models.gene7 import Gene7 +from gemmapy.sdk.models.gene8 import Gene8 +from gemmapy.sdk.models.gene9 import Gene9 from gemmapy.sdk.models.gene_arg import GeneArg from gemmapy.sdk.models.gene_element_expressions_value_object import GeneElementExpressionsValueObject from gemmapy.sdk.models.gene_ontology_term_value_object import GeneOntologyTermValueObject @@ -83,6 +90,7 @@ from gemmapy.sdk.models.one_of_search_result_value_object_object_result_object import OneOfSearchResultValueObjectObjectResultObject from gemmapy.sdk.models.ontology_term_value_object import OntologyTermValueObject from gemmapy.sdk.models.paginated_response_data_object_composite_sequence_value_object import PaginatedResponseDataObjectCompositeSequenceValueObject +from gemmapy.sdk.models.paginated_response_data_object_experiment_expression_levels_value_object import PaginatedResponseDataObjectExperimentExpressionLevelsValueObject from gemmapy.sdk.models.paginated_response_data_object_expression_experiment_value_object import PaginatedResponseDataObjectExpressionExperimentValueObject from gemmapy.sdk.models.paginated_response_data_object_gene_value_object import PaginatedResponseDataObjectGeneValueObject from gemmapy.sdk.models.paginated_results_response_data_object_differential_expression_analysis_result_set_value_object import PaginatedResultsResponseDataObjectDifferentialExpressionAnalysisResultSetValueObject @@ -101,6 +109,7 @@ from gemmapy.sdk.models.queried_and_filtered_and_inferred_and_limited_response_data_object_annotation_with_usage_statistics_value_object import QueriedAndFilteredAndInferredAndLimitedResponseDataObjectAnnotationWithUsageStatisticsValueObject from gemmapy.sdk.models.queried_and_filtered_and_inferred_and_limited_response_data_object_array_design_with_usage_statistics_value_object import QueriedAndFilteredAndInferredAndLimitedResponseDataObjectArrayDesignWithUsageStatisticsValueObject from gemmapy.sdk.models.queried_and_filtered_and_inferred_and_limited_response_data_object_category_with_usage_statistics_value_object import QueriedAndFilteredAndInferredAndLimitedResponseDataObjectCategoryWithUsageStatisticsValueObject +from gemmapy.sdk.models.queried_and_filtered_and_inferred_and_paginated_response_data_object_differential_expression_analysis_result_by_gene_value_object import QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject from gemmapy.sdk.models.queried_and_filtered_and_inferred_and_paginated_response_data_object_expression_experiment_with_search_result_value_object import QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectExpressionExperimentWithSearchResultValueObject from gemmapy.sdk.models.queried_and_filtered_and_inferred_response_data_object_taxon_with_usage_statistics_value_object import QueriedAndFilteredAndInferredResponseDataObjectTaxonWithUsageStatisticsValueObject from gemmapy.sdk.models.queried_and_filtered_and_paginated_response_data_object_expression_experiment_value_object import QueriedAndFilteredAndPaginatedResponseDataObjectExpressionExperimentValueObject @@ -131,9 +140,11 @@ from gemmapy.sdk.models.sort_arg_expression_experiment import SortArgExpressionExperiment from gemmapy.sdk.models.sort_value_object import SortValueObject from gemmapy.sdk.models.statement_value_object import StatementValueObject -from gemmapy.sdk.models.taxa import Taxa from gemmapy.sdk.models.taxon import Taxon from gemmapy.sdk.models.taxon1 import Taxon1 +from gemmapy.sdk.models.taxon10 import Taxon10 +from gemmapy.sdk.models.taxon11 import Taxon11 +from gemmapy.sdk.models.taxon12 import Taxon12 from gemmapy.sdk.models.taxon2 import Taxon2 from gemmapy.sdk.models.taxon3 import Taxon3 from gemmapy.sdk.models.taxon4 import Taxon4 diff --git a/gemmapy/sdk/models/annotation_search_result_value_object.py b/gemmapy/sdk/models/annotation_search_result_value_object.py index 4ffaf02..b5d84de 100644 --- a/gemmapy/sdk/models/annotation_search_result_value_object.py +++ b/gemmapy/sdk/models/annotation_search_result_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/annotation_value_object.py b/gemmapy/sdk/models/annotation_value_object.py index 760eca1..3b3db2f 100644 --- a/gemmapy/sdk/models/annotation_value_object.py +++ b/gemmapy/sdk/models/annotation_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/annotation_with_usage_statistics_value_object.py b/gemmapy/sdk/models/annotation_with_usage_statistics_value_object.py index 18032a2..b9c140b 100644 --- a/gemmapy/sdk/models/annotation_with_usage_statistics_value_object.py +++ b/gemmapy/sdk/models/annotation_with_usage_statistics_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/api_info_value_object.py b/gemmapy/sdk/models/api_info_value_object.py index 2cb0147..a983235 100644 --- a/gemmapy/sdk/models/api_info_value_object.py +++ b/gemmapy/sdk/models/api_info_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -30,32 +30,47 @@ class ApiInfoValueObject(object): swagger_types = { 'welcome': 'str', 'version': 'str', - 'docs': 'str', - 'external_databases': 'list[ExternalDatabaseValueObject]' + 'documentation_url': 'str', + 'specification_url': 'str', + 'external_databases': 'list[ExternalDatabaseValueObject]', + 'build_info': 'BuildInfoValueObject', + 'docs': 'str' } attribute_map = { 'welcome': 'welcome', 'version': 'version', - 'docs': 'docs', - 'external_databases': 'externalDatabases' + 'documentation_url': 'documentationUrl', + 'specification_url': 'specificationUrl', + 'external_databases': 'externalDatabases', + 'build_info': 'buildInfo', + 'docs': 'docs' } - def __init__(self, welcome=None, version=None, docs=None, external_databases=None): # noqa: E501 + def __init__(self, welcome=None, version=None, documentation_url=None, specification_url=None, external_databases=None, build_info=None, docs=None): # noqa: E501 """ApiInfoValueObject - a model defined in Swagger""" # noqa: E501 self._welcome = None self._version = None - self._docs = None + self._documentation_url = None + self._specification_url = None self._external_databases = None + self._build_info = None + self._docs = None self.discriminator = None if welcome is not None: self.welcome = welcome if version is not None: self.version = version - if docs is not None: - self.docs = docs + if documentation_url is not None: + self.documentation_url = documentation_url + if specification_url is not None: + self.specification_url = specification_url if external_databases is not None: self.external_databases = external_databases + if build_info is not None: + self.build_info = build_info + if docs is not None: + self.docs = docs @property def welcome(self): @@ -100,25 +115,46 @@ def version(self, version): self._version = version @property - def docs(self): - """Gets the docs of this ApiInfoValueObject. # noqa: E501 + def documentation_url(self): + """Gets the documentation_url of this ApiInfoValueObject. # noqa: E501 - :return: The docs of this ApiInfoValueObject. # noqa: E501 + :return: The documentation_url of this ApiInfoValueObject. # noqa: E501 :rtype: str """ - return self._docs + return self._documentation_url - @docs.setter - def docs(self, docs): - """Sets the docs of this ApiInfoValueObject. + @documentation_url.setter + def documentation_url(self, documentation_url): + """Sets the documentation_url of this ApiInfoValueObject. - :param docs: The docs of this ApiInfoValueObject. # noqa: E501 + :param documentation_url: The documentation_url of this ApiInfoValueObject. # noqa: E501 :type: str """ - self._docs = docs + self._documentation_url = documentation_url + + @property + def specification_url(self): + """Gets the specification_url of this ApiInfoValueObject. # noqa: E501 + + + :return: The specification_url of this ApiInfoValueObject. # noqa: E501 + :rtype: str + """ + return self._specification_url + + @specification_url.setter + def specification_url(self, specification_url): + """Sets the specification_url of this ApiInfoValueObject. + + + :param specification_url: The specification_url of this ApiInfoValueObject. # noqa: E501 + :type: str + """ + + self._specification_url = specification_url @property def external_databases(self): @@ -141,6 +177,48 @@ def external_databases(self, external_databases): self._external_databases = external_databases + @property + def build_info(self): + """Gets the build_info of this ApiInfoValueObject. # noqa: E501 + + + :return: The build_info of this ApiInfoValueObject. # noqa: E501 + :rtype: BuildInfoValueObject + """ + return self._build_info + + @build_info.setter + def build_info(self, build_info): + """Sets the build_info of this ApiInfoValueObject. + + + :param build_info: The build_info of this ApiInfoValueObject. # noqa: E501 + :type: BuildInfoValueObject + """ + + self._build_info = build_info + + @property + def docs(self): + """Gets the docs of this ApiInfoValueObject. # noqa: E501 + + + :return: The docs of this ApiInfoValueObject. # noqa: E501 + :rtype: str + """ + return self._docs + + @docs.setter + def docs(self, docs): + """Sets the docs of this ApiInfoValueObject. + + + :param docs: The docs of this ApiInfoValueObject. # noqa: E501 + :type: str + """ + + self._docs = docs + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/gemmapy/sdk/models/array_design_value_object.py b/gemmapy/sdk/models/array_design_value_object.py index 5189d3d..c2acc1a 100644 --- a/gemmapy/sdk/models/array_design_value_object.py +++ b/gemmapy/sdk/models/array_design_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -47,8 +47,8 @@ class ArrayDesignValueObject(object): 'release_version': 'str', 'release_url': 'str', 'external_references': 'list[DatabaseEntryValueObject]', - 'number_of_expression_experiments': 'int', 'taxon_id': 'int', + 'number_of_expression_experiments': 'int', 'trouble_details': 'str', 'number_of_switched_expression_experiments': 'int', 'taxon': 'TaxonValueObject' @@ -74,14 +74,14 @@ class ArrayDesignValueObject(object): 'release_version': 'releaseVersion', 'release_url': 'releaseUrl', 'external_references': 'externalReferences', - 'number_of_expression_experiments': 'numberOfExpressionExperiments', 'taxon_id': 'taxonID', + 'number_of_expression_experiments': 'numberOfExpressionExperiments', 'trouble_details': 'troubleDetails', 'number_of_switched_expression_experiments': 'numberOfSwitchedExpressionExperiments', 'taxon': 'taxon' } - def __init__(self, id=None, last_updated=None, troubled=None, last_troubled_event=None, needs_attention=None, last_needs_attention_event=None, curation_note=None, last_note_update_event=None, color=None, description=None, expression_experiment_count=None, is_merged=None, is_mergee=None, name=None, short_name=None, technology_type=None, release_version=None, release_url=None, external_references=None, number_of_expression_experiments=None, taxon_id=None, trouble_details=None, number_of_switched_expression_experiments=None, taxon=None): # noqa: E501 + def __init__(self, id=None, last_updated=None, troubled=None, last_troubled_event=None, needs_attention=None, last_needs_attention_event=None, curation_note=None, last_note_update_event=None, color=None, description=None, expression_experiment_count=None, is_merged=None, is_mergee=None, name=None, short_name=None, technology_type=None, release_version=None, release_url=None, external_references=None, taxon_id=None, number_of_expression_experiments=None, trouble_details=None, number_of_switched_expression_experiments=None, taxon=None): # noqa: E501 """ArrayDesignValueObject - a model defined in Swagger""" # noqa: E501 self._id = None self._last_updated = None @@ -102,8 +102,8 @@ def __init__(self, id=None, last_updated=None, troubled=None, last_troubled_even self._release_version = None self._release_url = None self._external_references = None - self._number_of_expression_experiments = None self._taxon_id = None + self._number_of_expression_experiments = None self._trouble_details = None self._number_of_switched_expression_experiments = None self._taxon = None @@ -146,10 +146,10 @@ def __init__(self, id=None, last_updated=None, troubled=None, last_troubled_even self.release_url = release_url if external_references is not None: self.external_references = external_references - if number_of_expression_experiments is not None: - self.number_of_expression_experiments = number_of_expression_experiments if taxon_id is not None: self.taxon_id = taxon_id + if number_of_expression_experiments is not None: + self.number_of_expression_experiments = number_of_expression_experiments if trouble_details is not None: self.trouble_details = trouble_details if number_of_switched_expression_experiments is not None: @@ -569,46 +569,46 @@ def external_references(self, external_references): self._external_references = external_references @property - def number_of_expression_experiments(self): - """Gets the number_of_expression_experiments of this ArrayDesignValueObject. # noqa: E501 + def taxon_id(self): + """Gets the taxon_id of this ArrayDesignValueObject. # noqa: E501 - :return: The number_of_expression_experiments of this ArrayDesignValueObject. # noqa: E501 + :return: The taxon_id of this ArrayDesignValueObject. # noqa: E501 :rtype: int """ - return self._number_of_expression_experiments + return self._taxon_id - @number_of_expression_experiments.setter - def number_of_expression_experiments(self, number_of_expression_experiments): - """Sets the number_of_expression_experiments of this ArrayDesignValueObject. + @taxon_id.setter + def taxon_id(self, taxon_id): + """Sets the taxon_id of this ArrayDesignValueObject. - :param number_of_expression_experiments: The number_of_expression_experiments of this ArrayDesignValueObject. # noqa: E501 + :param taxon_id: The taxon_id of this ArrayDesignValueObject. # noqa: E501 :type: int """ - self._number_of_expression_experiments = number_of_expression_experiments + self._taxon_id = taxon_id @property - def taxon_id(self): - """Gets the taxon_id of this ArrayDesignValueObject. # noqa: E501 + def number_of_expression_experiments(self): + """Gets the number_of_expression_experiments of this ArrayDesignValueObject. # noqa: E501 - :return: The taxon_id of this ArrayDesignValueObject. # noqa: E501 + :return: The number_of_expression_experiments of this ArrayDesignValueObject. # noqa: E501 :rtype: int """ - return self._taxon_id + return self._number_of_expression_experiments - @taxon_id.setter - def taxon_id(self, taxon_id): - """Sets the taxon_id of this ArrayDesignValueObject. + @number_of_expression_experiments.setter + def number_of_expression_experiments(self, number_of_expression_experiments): + """Sets the number_of_expression_experiments of this ArrayDesignValueObject. - :param taxon_id: The taxon_id of this ArrayDesignValueObject. # noqa: E501 + :param number_of_expression_experiments: The number_of_expression_experiments of this ArrayDesignValueObject. # noqa: E501 :type: int """ - self._taxon_id = taxon_id + self._number_of_expression_experiments = number_of_expression_experiments @property def trouble_details(self): diff --git a/gemmapy/sdk/models/array_design_with_usage_statistics_value_object.py b/gemmapy/sdk/models/array_design_with_usage_statistics_value_object.py index df033c2..be78894 100644 --- a/gemmapy/sdk/models/array_design_with_usage_statistics_value_object.py +++ b/gemmapy/sdk/models/array_design_with_usage_statistics_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/audit_event_value_object.py b/gemmapy/sdk/models/audit_event_value_object.py index b5c068d..cfaf606 100644 --- a/gemmapy/sdk/models/audit_event_value_object.py +++ b/gemmapy/sdk/models/audit_event_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/bibliographic_phenotypes_value_object.py b/gemmapy/sdk/models/bibliographic_phenotypes_value_object.py index c55e688..0b125c7 100644 --- a/gemmapy/sdk/models/bibliographic_phenotypes_value_object.py +++ b/gemmapy/sdk/models/bibliographic_phenotypes_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/bibliographic_reference_value_object.py b/gemmapy/sdk/models/bibliographic_reference_value_object.py index b50a99d..3feab61 100644 --- a/gemmapy/sdk/models/bibliographic_reference_value_object.py +++ b/gemmapy/sdk/models/bibliographic_reference_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/bio_assay_value_object.py b/gemmapy/sdk/models/bio_assay_value_object.py index f9482d1..db347de 100644 --- a/gemmapy/sdk/models/bio_assay_value_object.py +++ b/gemmapy/sdk/models/bio_assay_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/bio_material_value_object.py b/gemmapy/sdk/models/bio_material_value_object.py index a403df2..0a21cc3 100644 --- a/gemmapy/sdk/models/bio_material_value_object.py +++ b/gemmapy/sdk/models/bio_material_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/bio_sequence_value_object.py b/gemmapy/sdk/models/bio_sequence_value_object.py index 037db55..7023e20 100644 --- a/gemmapy/sdk/models/bio_sequence_value_object.py +++ b/gemmapy/sdk/models/bio_sequence_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/build_info_value_object.py b/gemmapy/sdk/models/build_info_value_object.py new file mode 100644 index 0000000..352af0c --- /dev/null +++ b/gemmapy/sdk/models/build_info_value_object.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + Gemma RESTful API + + This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 + + OpenAPI spec version: 2.8.0 + Contact: pavlab-support@msl.ubc.ca + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class BuildInfoValueObject(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'version': 'str', + 'timestamp': 'datetime', + 'git_hash': 'str' + } + + attribute_map = { + 'version': 'version', + 'timestamp': 'timestamp', + 'git_hash': 'gitHash' + } + + def __init__(self, version=None, timestamp=None, git_hash=None): # noqa: E501 + """BuildInfoValueObject - a model defined in Swagger""" # noqa: E501 + self._version = None + self._timestamp = None + self._git_hash = None + self.discriminator = None + if version is not None: + self.version = version + if timestamp is not None: + self.timestamp = timestamp + if git_hash is not None: + self.git_hash = git_hash + + @property + def version(self): + """Gets the version of this BuildInfoValueObject. # noqa: E501 + + + :return: The version of this BuildInfoValueObject. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this BuildInfoValueObject. + + + :param version: The version of this BuildInfoValueObject. # noqa: E501 + :type: str + """ + + self._version = version + + @property + def timestamp(self): + """Gets the timestamp of this BuildInfoValueObject. # noqa: E501 + + + :return: The timestamp of this BuildInfoValueObject. # noqa: E501 + :rtype: datetime + """ + return self._timestamp + + @timestamp.setter + def timestamp(self, timestamp): + """Sets the timestamp of this BuildInfoValueObject. + + + :param timestamp: The timestamp of this BuildInfoValueObject. # noqa: E501 + :type: datetime + """ + + self._timestamp = timestamp + + @property + def git_hash(self): + """Gets the git_hash of this BuildInfoValueObject. # noqa: E501 + + + :return: The git_hash of this BuildInfoValueObject. # noqa: E501 + :rtype: str + """ + return self._git_hash + + @git_hash.setter + def git_hash(self, git_hash): + """Sets the git_hash of this BuildInfoValueObject. + + + :param git_hash: The git_hash of this BuildInfoValueObject. # noqa: E501 + :type: str + """ + + self._git_hash = git_hash + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(BuildInfoValueObject, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, BuildInfoValueObject): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gemmapy/sdk/models/category_with_usage_statistics_value_object.py b/gemmapy/sdk/models/category_with_usage_statistics_value_object.py index b715a9b..bb7ea54 100644 --- a/gemmapy/sdk/models/category_with_usage_statistics_value_object.py +++ b/gemmapy/sdk/models/category_with_usage_statistics_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/characteristic_value_object.py b/gemmapy/sdk/models/characteristic_value_object.py index 4a84641..7bb500d 100644 --- a/gemmapy/sdk/models/characteristic_value_object.py +++ b/gemmapy/sdk/models/characteristic_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/citation_value_object.py b/gemmapy/sdk/models/citation_value_object.py index 0b7bae6..84237f8 100644 --- a/gemmapy/sdk/models/citation_value_object.py +++ b/gemmapy/sdk/models/citation_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/composite_sequence_arg.py b/gemmapy/sdk/models/composite_sequence_arg.py index 8afeb52..8424725 100644 --- a/gemmapy/sdk/models/composite_sequence_arg.py +++ b/gemmapy/sdk/models/composite_sequence_arg.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/composite_sequence_value_object.py b/gemmapy/sdk/models/composite_sequence_value_object.py index a801b83..473bc53 100644 --- a/gemmapy/sdk/models/composite_sequence_value_object.py +++ b/gemmapy/sdk/models/composite_sequence_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/contrast_result_value_object.py b/gemmapy/sdk/models/contrast_result_value_object.py index d018938..54d8960 100644 --- a/gemmapy/sdk/models/contrast_result_value_object.py +++ b/gemmapy/sdk/models/contrast_result_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/database_entry_arg.py b/gemmapy/sdk/models/database_entry_arg.py index c42cdde..94bc350 100644 --- a/gemmapy/sdk/models/database_entry_arg.py +++ b/gemmapy/sdk/models/database_entry_arg.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/database_entry_value_object.py b/gemmapy/sdk/models/database_entry_value_object.py index a6aedf9..8758cb1 100644 --- a/gemmapy/sdk/models/database_entry_value_object.py +++ b/gemmapy/sdk/models/database_entry_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/dataset.py b/gemmapy/sdk/models/dataset.py index d9faff7..3ac68c9 100644 --- a/gemmapy/sdk/models/dataset.py +++ b/gemmapy/sdk/models/dataset.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/dataset1.py b/gemmapy/sdk/models/dataset1.py index 163e0eb..a79ba54 100644 --- a/gemmapy/sdk/models/dataset1.py +++ b/gemmapy/sdk/models/dataset1.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/dataset10.py b/gemmapy/sdk/models/dataset10.py index 541cd5e..238f575 100644 --- a/gemmapy/sdk/models/dataset10.py +++ b/gemmapy/sdk/models/dataset10.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/dataset11.py b/gemmapy/sdk/models/dataset11.py new file mode 100644 index 0000000..02bb433 --- /dev/null +++ b/gemmapy/sdk/models/dataset11.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + Gemma RESTful API + + This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 + + OpenAPI spec version: 2.8.0 + Contact: pavlab-support@msl.ubc.ca + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class Dataset11(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """Dataset11 - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(Dataset11, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Dataset11): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gemmapy/sdk/models/dataset2.py b/gemmapy/sdk/models/dataset2.py index 832fa21..5d12ed9 100644 --- a/gemmapy/sdk/models/dataset2.py +++ b/gemmapy/sdk/models/dataset2.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/dataset3.py b/gemmapy/sdk/models/dataset3.py index 7237de8..d9cb2f7 100644 --- a/gemmapy/sdk/models/dataset3.py +++ b/gemmapy/sdk/models/dataset3.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/dataset4.py b/gemmapy/sdk/models/dataset4.py index e948fe1..a8dc332 100644 --- a/gemmapy/sdk/models/dataset4.py +++ b/gemmapy/sdk/models/dataset4.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/dataset5.py b/gemmapy/sdk/models/dataset5.py index 08565c0..4b78e14 100644 --- a/gemmapy/sdk/models/dataset5.py +++ b/gemmapy/sdk/models/dataset5.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/dataset6.py b/gemmapy/sdk/models/dataset6.py index c620427..e03092b 100644 --- a/gemmapy/sdk/models/dataset6.py +++ b/gemmapy/sdk/models/dataset6.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/dataset7.py b/gemmapy/sdk/models/dataset7.py index 1a8f6d0..05ef3aa 100644 --- a/gemmapy/sdk/models/dataset7.py +++ b/gemmapy/sdk/models/dataset7.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/dataset8.py b/gemmapy/sdk/models/dataset8.py index 6b24f96..f33673a 100644 --- a/gemmapy/sdk/models/dataset8.py +++ b/gemmapy/sdk/models/dataset8.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/dataset9.py b/gemmapy/sdk/models/dataset9.py index 77b4265..6d9d5de 100644 --- a/gemmapy/sdk/models/dataset9.py +++ b/gemmapy/sdk/models/dataset9.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/dataset_arg.py b/gemmapy/sdk/models/dataset_arg.py index 54a2373..77d3c78 100644 --- a/gemmapy/sdk/models/dataset_arg.py +++ b/gemmapy/sdk/models/dataset_arg.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/diff_ex_result_set_summary_value_object.py b/gemmapy/sdk/models/diff_ex_result_set_summary_value_object.py index 581545b..b95d4da 100644 --- a/gemmapy/sdk/models/diff_ex_result_set_summary_value_object.py +++ b/gemmapy/sdk/models/diff_ex_result_set_summary_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/differential_expression_analysis_result_by_gene_value_object.py b/gemmapy/sdk/models/differential_expression_analysis_result_by_gene_value_object.py new file mode 100644 index 0000000..e178d0b --- /dev/null +++ b/gemmapy/sdk/models/differential_expression_analysis_result_by_gene_value_object.py @@ -0,0 +1,422 @@ +# coding: utf-8 + +""" + Gemma RESTful API + + This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 + + OpenAPI spec version: 2.8.0 + Contact: pavlab-support@msl.ubc.ca + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DifferentialExpressionAnalysisResultByGeneValueObject(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'int', + 'probe_id': 'int', + 'probe_name': 'str', + 'genes': 'list[GeneValueObject]', + 'corrected_pvalue': 'float', + 'rank': 'float', + 'contrasts': 'list[ContrastResultValueObject]', + 'source_experiment_id': 'int', + 'experiment_analyzed_id': 'int', + 'result_set_id': 'int', + 'baseline': 'FactorValueBasicValueObject', + 'second_baseline': 'FactorValueBasicValueObject', + 'pvalue': 'float' + } + + attribute_map = { + 'id': 'id', + 'probe_id': 'probeId', + 'probe_name': 'probeName', + 'genes': 'genes', + 'corrected_pvalue': 'correctedPvalue', + 'rank': 'rank', + 'contrasts': 'contrasts', + 'source_experiment_id': 'sourceExperimentId', + 'experiment_analyzed_id': 'experimentAnalyzedId', + 'result_set_id': 'resultSetId', + 'baseline': 'baseline', + 'second_baseline': 'secondBaseline', + 'pvalue': 'pvalue' + } + + def __init__(self, id=None, probe_id=None, probe_name=None, genes=None, corrected_pvalue=None, rank=None, contrasts=None, source_experiment_id=None, experiment_analyzed_id=None, result_set_id=None, baseline=None, second_baseline=None, pvalue=None): # noqa: E501 + """DifferentialExpressionAnalysisResultByGeneValueObject - a model defined in Swagger""" # noqa: E501 + self._id = None + self._probe_id = None + self._probe_name = None + self._genes = None + self._corrected_pvalue = None + self._rank = None + self._contrasts = None + self._source_experiment_id = None + self._experiment_analyzed_id = None + self._result_set_id = None + self._baseline = None + self._second_baseline = None + self._pvalue = None + self.discriminator = None + if id is not None: + self.id = id + if probe_id is not None: + self.probe_id = probe_id + if probe_name is not None: + self.probe_name = probe_name + if genes is not None: + self.genes = genes + if corrected_pvalue is not None: + self.corrected_pvalue = corrected_pvalue + if rank is not None: + self.rank = rank + if contrasts is not None: + self.contrasts = contrasts + if source_experiment_id is not None: + self.source_experiment_id = source_experiment_id + if experiment_analyzed_id is not None: + self.experiment_analyzed_id = experiment_analyzed_id + if result_set_id is not None: + self.result_set_id = result_set_id + if baseline is not None: + self.baseline = baseline + if second_baseline is not None: + self.second_baseline = second_baseline + if pvalue is not None: + self.pvalue = pvalue + + @property + def id(self): + """Gets the id of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The id of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: int + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this DifferentialExpressionAnalysisResultByGeneValueObject. + + + :param id: The id of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: int + """ + + self._id = id + + @property + def probe_id(self): + """Gets the probe_id of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The probe_id of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: int + """ + return self._probe_id + + @probe_id.setter + def probe_id(self, probe_id): + """Sets the probe_id of this DifferentialExpressionAnalysisResultByGeneValueObject. + + + :param probe_id: The probe_id of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: int + """ + + self._probe_id = probe_id + + @property + def probe_name(self): + """Gets the probe_name of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The probe_name of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: str + """ + return self._probe_name + + @probe_name.setter + def probe_name(self, probe_name): + """Sets the probe_name of this DifferentialExpressionAnalysisResultByGeneValueObject. + + + :param probe_name: The probe_name of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: str + """ + + self._probe_name = probe_name + + @property + def genes(self): + """Gets the genes of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The genes of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: list[GeneValueObject] + """ + return self._genes + + @genes.setter + def genes(self, genes): + """Sets the genes of this DifferentialExpressionAnalysisResultByGeneValueObject. + + + :param genes: The genes of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: list[GeneValueObject] + """ + + self._genes = genes + + @property + def corrected_pvalue(self): + """Gets the corrected_pvalue of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The corrected_pvalue of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: float + """ + return self._corrected_pvalue + + @corrected_pvalue.setter + def corrected_pvalue(self, corrected_pvalue): + """Sets the corrected_pvalue of this DifferentialExpressionAnalysisResultByGeneValueObject. + + + :param corrected_pvalue: The corrected_pvalue of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: float + """ + + self._corrected_pvalue = corrected_pvalue + + @property + def rank(self): + """Gets the rank of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The rank of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: float + """ + return self._rank + + @rank.setter + def rank(self, rank): + """Sets the rank of this DifferentialExpressionAnalysisResultByGeneValueObject. + + + :param rank: The rank of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: float + """ + + self._rank = rank + + @property + def contrasts(self): + """Gets the contrasts of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The contrasts of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: list[ContrastResultValueObject] + """ + return self._contrasts + + @contrasts.setter + def contrasts(self, contrasts): + """Sets the contrasts of this DifferentialExpressionAnalysisResultByGeneValueObject. + + + :param contrasts: The contrasts of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: list[ContrastResultValueObject] + """ + + self._contrasts = contrasts + + @property + def source_experiment_id(self): + """Gets the source_experiment_id of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The source_experiment_id of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: int + """ + return self._source_experiment_id + + @source_experiment_id.setter + def source_experiment_id(self, source_experiment_id): + """Sets the source_experiment_id of this DifferentialExpressionAnalysisResultByGeneValueObject. + + + :param source_experiment_id: The source_experiment_id of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: int + """ + + self._source_experiment_id = source_experiment_id + + @property + def experiment_analyzed_id(self): + """Gets the experiment_analyzed_id of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The experiment_analyzed_id of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: int + """ + return self._experiment_analyzed_id + + @experiment_analyzed_id.setter + def experiment_analyzed_id(self, experiment_analyzed_id): + """Sets the experiment_analyzed_id of this DifferentialExpressionAnalysisResultByGeneValueObject. + + + :param experiment_analyzed_id: The experiment_analyzed_id of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: int + """ + + self._experiment_analyzed_id = experiment_analyzed_id + + @property + def result_set_id(self): + """Gets the result_set_id of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The result_set_id of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: int + """ + return self._result_set_id + + @result_set_id.setter + def result_set_id(self, result_set_id): + """Sets the result_set_id of this DifferentialExpressionAnalysisResultByGeneValueObject. + + + :param result_set_id: The result_set_id of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: int + """ + + self._result_set_id = result_set_id + + @property + def baseline(self): + """Gets the baseline of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The baseline of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: FactorValueBasicValueObject + """ + return self._baseline + + @baseline.setter + def baseline(self, baseline): + """Sets the baseline of this DifferentialExpressionAnalysisResultByGeneValueObject. + + + :param baseline: The baseline of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: FactorValueBasicValueObject + """ + + self._baseline = baseline + + @property + def second_baseline(self): + """Gets the second_baseline of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The second_baseline of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: FactorValueBasicValueObject + """ + return self._second_baseline + + @second_baseline.setter + def second_baseline(self, second_baseline): + """Sets the second_baseline of this DifferentialExpressionAnalysisResultByGeneValueObject. + + + :param second_baseline: The second_baseline of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: FactorValueBasicValueObject + """ + + self._second_baseline = second_baseline + + @property + def pvalue(self): + """Gets the pvalue of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The pvalue of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: float + """ + return self._pvalue + + @pvalue.setter + def pvalue(self, pvalue): + """Sets the pvalue of this DifferentialExpressionAnalysisResultByGeneValueObject. + + + :param pvalue: The pvalue of this DifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: float + """ + + self._pvalue = pvalue + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(DifferentialExpressionAnalysisResultByGeneValueObject, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DifferentialExpressionAnalysisResultByGeneValueObject): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gemmapy/sdk/models/differential_expression_analysis_result_set_value_object.py b/gemmapy/sdk/models/differential_expression_analysis_result_set_value_object.py index 9806e29..0786a6a 100644 --- a/gemmapy/sdk/models/differential_expression_analysis_result_set_value_object.py +++ b/gemmapy/sdk/models/differential_expression_analysis_result_set_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/differential_expression_analysis_result_value_object.py b/gemmapy/sdk/models/differential_expression_analysis_result_value_object.py index 9287f7e..9c74218 100644 --- a/gemmapy/sdk/models/differential_expression_analysis_result_value_object.py +++ b/gemmapy/sdk/models/differential_expression_analysis_result_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/differential_expression_analysis_value_object.py b/gemmapy/sdk/models/differential_expression_analysis_value_object.py index 46beb1c..462c978 100644 --- a/gemmapy/sdk/models/differential_expression_analysis_value_object.py +++ b/gemmapy/sdk/models/differential_expression_analysis_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/experiment_expression_levels_value_object.py b/gemmapy/sdk/models/experiment_expression_levels_value_object.py index e7ad6b1..4355544 100644 --- a/gemmapy/sdk/models/experiment_expression_levels_value_object.py +++ b/gemmapy/sdk/models/experiment_expression_levels_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/experimental_factor_value_object.py b/gemmapy/sdk/models/experimental_factor_value_object.py index f30f079..d93826b 100644 --- a/gemmapy/sdk/models/experimental_factor_value_object.py +++ b/gemmapy/sdk/models/experimental_factor_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -29,51 +29,51 @@ class ExperimentalFactorValueObject(object): """ swagger_types = { 'id': 'int', + 'name': 'str', + 'description': 'str', + 'type': 'str', 'category': 'str', 'category_uri': 'str', - 'description': 'str', 'factor_values': 'str', - 'name': 'str', - 'type': 'str', 'values': 'list[FactorValueValueObject]' } attribute_map = { 'id': 'id', + 'name': 'name', + 'description': 'description', + 'type': 'type', 'category': 'category', 'category_uri': 'categoryUri', - 'description': 'description', 'factor_values': 'factorValues', - 'name': 'name', - 'type': 'type', 'values': 'values' } - def __init__(self, id=None, category=None, category_uri=None, description=None, factor_values=None, name=None, type=None, values=None): # noqa: E501 + def __init__(self, id=None, name=None, description=None, type=None, category=None, category_uri=None, factor_values=None, values=None): # noqa: E501 """ExperimentalFactorValueObject - a model defined in Swagger""" # noqa: E501 self._id = None + self._name = None + self._description = None + self._type = None self._category = None self._category_uri = None - self._description = None self._factor_values = None - self._name = None - self._type = None self._values = None self.discriminator = None if id is not None: self.id = id + if name is not None: + self.name = name + if description is not None: + self.description = description + if type is not None: + self.type = type if category is not None: self.category = category if category_uri is not None: self.category_uri = category_uri - if description is not None: - self.description = description if factor_values is not None: self.factor_values = factor_values - if name is not None: - self.name = name - if type is not None: - self.type = type if values is not None: self.values = values @@ -99,138 +99,138 @@ def id(self, id): self._id = id @property - def category(self): - """Gets the category of this ExperimentalFactorValueObject. # noqa: E501 + def name(self): + """Gets the name of this ExperimentalFactorValueObject. # noqa: E501 - :return: The category of this ExperimentalFactorValueObject. # noqa: E501 + :return: The name of this ExperimentalFactorValueObject. # noqa: E501 :rtype: str """ - return self._category + return self._name - @category.setter - def category(self, category): - """Sets the category of this ExperimentalFactorValueObject. + @name.setter + def name(self, name): + """Sets the name of this ExperimentalFactorValueObject. - :param category: The category of this ExperimentalFactorValueObject. # noqa: E501 + :param name: The name of this ExperimentalFactorValueObject. # noqa: E501 :type: str """ - self._category = category + self._name = name @property - def category_uri(self): - """Gets the category_uri of this ExperimentalFactorValueObject. # noqa: E501 + def description(self): + """Gets the description of this ExperimentalFactorValueObject. # noqa: E501 - :return: The category_uri of this ExperimentalFactorValueObject. # noqa: E501 + :return: The description of this ExperimentalFactorValueObject. # noqa: E501 :rtype: str """ - return self._category_uri + return self._description - @category_uri.setter - def category_uri(self, category_uri): - """Sets the category_uri of this ExperimentalFactorValueObject. + @description.setter + def description(self, description): + """Sets the description of this ExperimentalFactorValueObject. - :param category_uri: The category_uri of this ExperimentalFactorValueObject. # noqa: E501 + :param description: The description of this ExperimentalFactorValueObject. # noqa: E501 :type: str """ - self._category_uri = category_uri + self._description = description @property - def description(self): - """Gets the description of this ExperimentalFactorValueObject. # noqa: E501 + def type(self): + """Gets the type of this ExperimentalFactorValueObject. # noqa: E501 - :return: The description of this ExperimentalFactorValueObject. # noqa: E501 + :return: The type of this ExperimentalFactorValueObject. # noqa: E501 :rtype: str """ - return self._description + return self._type - @description.setter - def description(self, description): - """Sets the description of this ExperimentalFactorValueObject. + @type.setter + def type(self, type): + """Sets the type of this ExperimentalFactorValueObject. - :param description: The description of this ExperimentalFactorValueObject. # noqa: E501 + :param type: The type of this ExperimentalFactorValueObject. # noqa: E501 :type: str """ + allowed_values = ["categorical", "continuous"] # noqa: E501 + if type not in allowed_values: + raise ValueError( + "Invalid value for `type` ({0}), must be one of {1}" # noqa: E501 + .format(type, allowed_values) + ) - self._description = description + self._type = type @property - def factor_values(self): - """Gets the factor_values of this ExperimentalFactorValueObject. # noqa: E501 + def category(self): + """Gets the category of this ExperimentalFactorValueObject. # noqa: E501 - This is deprecated, use `values` directly instead. # noqa: E501 - :return: The factor_values of this ExperimentalFactorValueObject. # noqa: E501 + :return: The category of this ExperimentalFactorValueObject. # noqa: E501 :rtype: str """ - return self._factor_values + return self._category - @factor_values.setter - def factor_values(self, factor_values): - """Sets the factor_values of this ExperimentalFactorValueObject. + @category.setter + def category(self, category): + """Sets the category of this ExperimentalFactorValueObject. - This is deprecated, use `values` directly instead. # noqa: E501 - :param factor_values: The factor_values of this ExperimentalFactorValueObject. # noqa: E501 + :param category: The category of this ExperimentalFactorValueObject. # noqa: E501 :type: str """ - self._factor_values = factor_values + self._category = category @property - def name(self): - """Gets the name of this ExperimentalFactorValueObject. # noqa: E501 + def category_uri(self): + """Gets the category_uri of this ExperimentalFactorValueObject. # noqa: E501 - :return: The name of this ExperimentalFactorValueObject. # noqa: E501 + :return: The category_uri of this ExperimentalFactorValueObject. # noqa: E501 :rtype: str """ - return self._name + return self._category_uri - @name.setter - def name(self, name): - """Sets the name of this ExperimentalFactorValueObject. + @category_uri.setter + def category_uri(self, category_uri): + """Sets the category_uri of this ExperimentalFactorValueObject. - :param name: The name of this ExperimentalFactorValueObject. # noqa: E501 + :param category_uri: The category_uri of this ExperimentalFactorValueObject. # noqa: E501 :type: str """ - self._name = name + self._category_uri = category_uri @property - def type(self): - """Gets the type of this ExperimentalFactorValueObject. # noqa: E501 + def factor_values(self): + """Gets the factor_values of this ExperimentalFactorValueObject. # noqa: E501 + This is deprecated, use `values` directly instead. # noqa: E501 - :return: The type of this ExperimentalFactorValueObject. # noqa: E501 + :return: The factor_values of this ExperimentalFactorValueObject. # noqa: E501 :rtype: str """ - return self._type + return self._factor_values - @type.setter - def type(self, type): - """Sets the type of this ExperimentalFactorValueObject. + @factor_values.setter + def factor_values(self, factor_values): + """Sets the factor_values of this ExperimentalFactorValueObject. + This is deprecated, use `values` directly instead. # noqa: E501 - :param type: The type of this ExperimentalFactorValueObject. # noqa: E501 + :param factor_values: The factor_values of this ExperimentalFactorValueObject. # noqa: E501 :type: str """ - allowed_values = ["categorical", "continuous"] # noqa: E501 - if type not in allowed_values: - raise ValueError( - "Invalid value for `type` ({0}), must be one of {1}" # noqa: E501 - .format(type, allowed_values) - ) - self._type = type + self._factor_values = factor_values @property def values(self): diff --git a/gemmapy/sdk/models/expression_experiment_set_value_object.py b/gemmapy/sdk/models/expression_experiment_set_value_object.py index 31c472a..fdbea3d 100644 --- a/gemmapy/sdk/models/expression_experiment_set_value_object.py +++ b/gemmapy/sdk/models/expression_experiment_set_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/expression_experiment_value_object.py b/gemmapy/sdk/models/expression_experiment_value_object.py index f5d2be3..930737b 100644 --- a/gemmapy/sdk/models/expression_experiment_value_object.py +++ b/gemmapy/sdk/models/expression_experiment_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/expression_experiment_with_search_result_value_object.py b/gemmapy/sdk/models/expression_experiment_with_search_result_value_object.py index b508889..702dcf5 100644 --- a/gemmapy/sdk/models/expression_experiment_with_search_result_value_object.py +++ b/gemmapy/sdk/models/expression_experiment_with_search_result_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/external_database_value_object.py b/gemmapy/sdk/models/external_database_value_object.py index 5ae2c5d..054645a 100644 --- a/gemmapy/sdk/models/external_database_value_object.py +++ b/gemmapy/sdk/models/external_database_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/factor_value_basic_value_object.py b/gemmapy/sdk/models/factor_value_basic_value_object.py index 65bc60d..fd35706 100644 --- a/gemmapy/sdk/models/factor_value_basic_value_object.py +++ b/gemmapy/sdk/models/factor_value_basic_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/factor_value_value_object.py b/gemmapy/sdk/models/factor_value_value_object.py index e5f96e4..06510ac 100644 --- a/gemmapy/sdk/models/factor_value_value_object.py +++ b/gemmapy/sdk/models/factor_value_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/filter_arg_array_design.py b/gemmapy/sdk/models/filter_arg_array_design.py index 4965dd1..9b0a013 100644 --- a/gemmapy/sdk/models/filter_arg_array_design.py +++ b/gemmapy/sdk/models/filter_arg_array_design.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/filter_arg_expression_analysis_result_set.py b/gemmapy/sdk/models/filter_arg_expression_analysis_result_set.py index 3b20d17..cbb4fd3 100644 --- a/gemmapy/sdk/models/filter_arg_expression_analysis_result_set.py +++ b/gemmapy/sdk/models/filter_arg_expression_analysis_result_set.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/filter_arg_expression_experiment.py b/gemmapy/sdk/models/filter_arg_expression_experiment.py index 9354187..fc1b65f 100644 --- a/gemmapy/sdk/models/filter_arg_expression_experiment.py +++ b/gemmapy/sdk/models/filter_arg_expression_experiment.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/filtered_and_inferred_and_paginated_response_data_object_expression_experiment_value_object.py b/gemmapy/sdk/models/filtered_and_inferred_and_paginated_response_data_object_expression_experiment_value_object.py index 5303c69..96f0d48 100644 --- a/gemmapy/sdk/models/filtered_and_inferred_and_paginated_response_data_object_expression_experiment_value_object.py +++ b/gemmapy/sdk/models/filtered_and_inferred_and_paginated_response_data_object_expression_experiment_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/filtered_and_paginated_response_data_object_array_design_value_object.py b/gemmapy/sdk/models/filtered_and_paginated_response_data_object_array_design_value_object.py index d6d8097..ee9730f 100644 --- a/gemmapy/sdk/models/filtered_and_paginated_response_data_object_array_design_value_object.py +++ b/gemmapy/sdk/models/filtered_and_paginated_response_data_object_array_design_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/filtered_and_paginated_response_data_object_composite_sequence_value_object.py b/gemmapy/sdk/models/filtered_and_paginated_response_data_object_composite_sequence_value_object.py index 58c572f..f3624cc 100644 --- a/gemmapy/sdk/models/filtered_and_paginated_response_data_object_composite_sequence_value_object.py +++ b/gemmapy/sdk/models/filtered_and_paginated_response_data_object_composite_sequence_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/filtered_and_paginated_response_data_object_differential_expression_analysis_result_set_value_object.py b/gemmapy/sdk/models/filtered_and_paginated_response_data_object_differential_expression_analysis_result_set_value_object.py index a7db11f..c46c081 100644 --- a/gemmapy/sdk/models/filtered_and_paginated_response_data_object_differential_expression_analysis_result_set_value_object.py +++ b/gemmapy/sdk/models/filtered_and_paginated_response_data_object_differential_expression_analysis_result_set_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/filtered_and_paginated_response_data_object_expression_experiment_value_object.py b/gemmapy/sdk/models/filtered_and_paginated_response_data_object_expression_experiment_value_object.py index 183fbde..ba8039b 100644 --- a/gemmapy/sdk/models/filtered_and_paginated_response_data_object_expression_experiment_value_object.py +++ b/gemmapy/sdk/models/filtered_and_paginated_response_data_object_expression_experiment_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/filtered_and_paginated_response_data_object_gene_value_object.py b/gemmapy/sdk/models/filtered_and_paginated_response_data_object_gene_value_object.py index 4c09cb9..d548e03 100644 --- a/gemmapy/sdk/models/filtered_and_paginated_response_data_object_gene_value_object.py +++ b/gemmapy/sdk/models/filtered_and_paginated_response_data_object_gene_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/geeq_value_object.py b/gemmapy/sdk/models/geeq_value_object.py index 5c94707..66ed6d9 100644 --- a/gemmapy/sdk/models/geeq_value_object.py +++ b/gemmapy/sdk/models/geeq_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/gene.py b/gemmapy/sdk/models/gene.py index 891c194..e514225 100644 --- a/gemmapy/sdk/models/gene.py +++ b/gemmapy/sdk/models/gene.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/gene1.py b/gemmapy/sdk/models/gene1.py index fa1d81e..4a4b99f 100644 --- a/gemmapy/sdk/models/gene1.py +++ b/gemmapy/sdk/models/gene1.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/gene2.py b/gemmapy/sdk/models/gene2.py index 5e7434a..1eb9f79 100644 --- a/gemmapy/sdk/models/gene2.py +++ b/gemmapy/sdk/models/gene2.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/gene3.py b/gemmapy/sdk/models/gene3.py index 6da4040..a0171c7 100644 --- a/gemmapy/sdk/models/gene3.py +++ b/gemmapy/sdk/models/gene3.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/gene4.py b/gemmapy/sdk/models/gene4.py index f06ea2a..3bce358 100644 --- a/gemmapy/sdk/models/gene4.py +++ b/gemmapy/sdk/models/gene4.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/gene5.py b/gemmapy/sdk/models/gene5.py index f810d6d..96b83a3 100644 --- a/gemmapy/sdk/models/gene5.py +++ b/gemmapy/sdk/models/gene5.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/taxa.py b/gemmapy/sdk/models/gene6.py similarity index 93% rename from gemmapy/sdk/models/taxa.py rename to gemmapy/sdk/models/gene6.py index fa4b72f..992d188 100644 --- a/gemmapy/sdk/models/taxa.py +++ b/gemmapy/sdk/models/gene6.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -15,7 +15,7 @@ import six -class Taxa(object): +class Gene6(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -34,7 +34,7 @@ class Taxa(object): } def __init__(self): # noqa: E501 - """Taxa - a model defined in Swagger""" # noqa: E501 + """Gene6 - a model defined in Swagger""" # noqa: E501 self.discriminator = None def to_dict(self): @@ -58,7 +58,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(Taxa, dict): + if issubclass(Gene6, dict): for key, value in self.items(): result[key] = value @@ -74,7 +74,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, Taxa): + if not isinstance(other, Gene6): return False return self.__dict__ == other.__dict__ diff --git a/gemmapy/sdk/models/gene7.py b/gemmapy/sdk/models/gene7.py new file mode 100644 index 0000000..2dee929 --- /dev/null +++ b/gemmapy/sdk/models/gene7.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + Gemma RESTful API + + This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 + + OpenAPI spec version: 2.8.0 + Contact: pavlab-support@msl.ubc.ca + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class Gene7(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """Gene7 - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(Gene7, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Gene7): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gemmapy/sdk/models/gene8.py b/gemmapy/sdk/models/gene8.py new file mode 100644 index 0000000..4af6292 --- /dev/null +++ b/gemmapy/sdk/models/gene8.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + Gemma RESTful API + + This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 + + OpenAPI spec version: 2.8.0 + Contact: pavlab-support@msl.ubc.ca + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class Gene8(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """Gene8 - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(Gene8, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Gene8): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gemmapy/sdk/models/gene9.py b/gemmapy/sdk/models/gene9.py new file mode 100644 index 0000000..f84d7a3 --- /dev/null +++ b/gemmapy/sdk/models/gene9.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + Gemma RESTful API + + This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 + + OpenAPI spec version: 2.8.0 + Contact: pavlab-support@msl.ubc.ca + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class Gene9(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """Gene9 - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(Gene9, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Gene9): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gemmapy/sdk/models/gene_arg.py b/gemmapy/sdk/models/gene_arg.py index 58465f8..0e775e6 100644 --- a/gemmapy/sdk/models/gene_arg.py +++ b/gemmapy/sdk/models/gene_arg.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/gene_element_expressions_value_object.py b/gemmapy/sdk/models/gene_element_expressions_value_object.py index 94274d3..79524e1 100644 --- a/gemmapy/sdk/models/gene_element_expressions_value_object.py +++ b/gemmapy/sdk/models/gene_element_expressions_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/gene_ontology_term_value_object.py b/gemmapy/sdk/models/gene_ontology_term_value_object.py index b194aa2..be9bc84 100644 --- a/gemmapy/sdk/models/gene_ontology_term_value_object.py +++ b/gemmapy/sdk/models/gene_ontology_term_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/gene_set_value_object.py b/gemmapy/sdk/models/gene_set_value_object.py index 8641fbf..6de1c9b 100644 --- a/gemmapy/sdk/models/gene_set_value_object.py +++ b/gemmapy/sdk/models/gene_set_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/gene_value_object.py b/gemmapy/sdk/models/gene_value_object.py index 292028e..dbb3eb9 100644 --- a/gemmapy/sdk/models/gene_value_object.py +++ b/gemmapy/sdk/models/gene_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/measurement_value_object.py b/gemmapy/sdk/models/measurement_value_object.py index a5e810a..aecd5a1 100644 --- a/gemmapy/sdk/models/measurement_value_object.py +++ b/gemmapy/sdk/models/measurement_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/one_of_search_result_value_object_object_result_object.py b/gemmapy/sdk/models/one_of_search_result_value_object_object_result_object.py index abe90e1..c75e087 100644 --- a/gemmapy/sdk/models/one_of_search_result_value_object_object_result_object.py +++ b/gemmapy/sdk/models/one_of_search_result_value_object_object_result_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/ontology_term_value_object.py b/gemmapy/sdk/models/ontology_term_value_object.py index 0c4325b..5df1a6d 100644 --- a/gemmapy/sdk/models/ontology_term_value_object.py +++ b/gemmapy/sdk/models/ontology_term_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/paginated_response_data_object_composite_sequence_value_object.py b/gemmapy/sdk/models/paginated_response_data_object_composite_sequence_value_object.py index fdb14a5..e6ddb61 100644 --- a/gemmapy/sdk/models/paginated_response_data_object_composite_sequence_value_object.py +++ b/gemmapy/sdk/models/paginated_response_data_object_composite_sequence_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/paginated_response_data_object_experiment_expression_levels_value_object.py b/gemmapy/sdk/models/paginated_response_data_object_experiment_expression_levels_value_object.py new file mode 100644 index 0000000..5639548 --- /dev/null +++ b/gemmapy/sdk/models/paginated_response_data_object_experiment_expression_levels_value_object.py @@ -0,0 +1,240 @@ +# coding: utf-8 + +""" + Gemma RESTful API + + This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 + + OpenAPI spec version: 2.8.0 + Contact: pavlab-support@msl.ubc.ca + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginatedResponseDataObjectExperimentExpressionLevelsValueObject(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'list[ExperimentExpressionLevelsValueObject]', + 'group_by': 'list[str]', + 'sort': 'SortValueObject', + 'offset': 'int', + 'limit': 'int', + 'total_elements': 'int' + } + + attribute_map = { + 'data': 'data', + 'group_by': 'groupBy', + 'sort': 'sort', + 'offset': 'offset', + 'limit': 'limit', + 'total_elements': 'totalElements' + } + + def __init__(self, data=None, group_by=None, sort=None, offset=None, limit=None, total_elements=None): # noqa: E501 + """PaginatedResponseDataObjectExperimentExpressionLevelsValueObject - a model defined in Swagger""" # noqa: E501 + self._data = None + self._group_by = None + self._sort = None + self._offset = None + self._limit = None + self._total_elements = None + self.discriminator = None + if data is not None: + self.data = data + if group_by is not None: + self.group_by = group_by + if sort is not None: + self.sort = sort + if offset is not None: + self.offset = offset + if limit is not None: + self.limit = limit + if total_elements is not None: + self.total_elements = total_elements + + @property + def data(self): + """Gets the data of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + + + :return: The data of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + :rtype: list[ExperimentExpressionLevelsValueObject] + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. + + + :param data: The data of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + :type: list[ExperimentExpressionLevelsValueObject] + """ + + self._data = data + + @property + def group_by(self): + """Gets the group_by of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + + + :return: The group_by of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + :rtype: list[str] + """ + return self._group_by + + @group_by.setter + def group_by(self, group_by): + """Sets the group_by of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. + + + :param group_by: The group_by of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + :type: list[str] + """ + + self._group_by = group_by + + @property + def sort(self): + """Gets the sort of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + + + :return: The sort of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + :rtype: SortValueObject + """ + return self._sort + + @sort.setter + def sort(self, sort): + """Sets the sort of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. + + + :param sort: The sort of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + :type: SortValueObject + """ + + self._sort = sort + + @property + def offset(self): + """Gets the offset of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + + + :return: The offset of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. + + + :param offset: The offset of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + :type: int + """ + + self._offset = offset + + @property + def limit(self): + """Gets the limit of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + + + :return: The limit of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. + + + :param limit: The limit of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + :type: int + """ + + self._limit = limit + + @property + def total_elements(self): + """Gets the total_elements of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + + + :return: The total_elements of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + :rtype: int + """ + return self._total_elements + + @total_elements.setter + def total_elements(self, total_elements): + """Sets the total_elements of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. + + + :param total_elements: The total_elements of this PaginatedResponseDataObjectExperimentExpressionLevelsValueObject. # noqa: E501 + :type: int + """ + + self._total_elements = total_elements + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(PaginatedResponseDataObjectExperimentExpressionLevelsValueObject, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PaginatedResponseDataObjectExperimentExpressionLevelsValueObject): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gemmapy/sdk/models/paginated_response_data_object_expression_experiment_value_object.py b/gemmapy/sdk/models/paginated_response_data_object_expression_experiment_value_object.py index 9b60f62..cf657b8 100644 --- a/gemmapy/sdk/models/paginated_response_data_object_expression_experiment_value_object.py +++ b/gemmapy/sdk/models/paginated_response_data_object_expression_experiment_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/paginated_response_data_object_gene_value_object.py b/gemmapy/sdk/models/paginated_response_data_object_gene_value_object.py index 608b80c..5a942cd 100644 --- a/gemmapy/sdk/models/paginated_response_data_object_gene_value_object.py +++ b/gemmapy/sdk/models/paginated_response_data_object_gene_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/paginated_results_response_data_object_differential_expression_analysis_result_set_value_object.py b/gemmapy/sdk/models/paginated_results_response_data_object_differential_expression_analysis_result_set_value_object.py index 9440215..f51995b 100644 --- a/gemmapy/sdk/models/paginated_results_response_data_object_differential_expression_analysis_result_set_value_object.py +++ b/gemmapy/sdk/models/paginated_results_response_data_object_differential_expression_analysis_result_set_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/physical_location_value_object.py b/gemmapy/sdk/models/physical_location_value_object.py index fc2168f..832b070 100644 --- a/gemmapy/sdk/models/physical_location_value_object.py +++ b/gemmapy/sdk/models/physical_location_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/platform.py b/gemmapy/sdk/models/platform.py index f839dd1..2af0b2d 100644 --- a/gemmapy/sdk/models/platform.py +++ b/gemmapy/sdk/models/platform.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/platform1.py b/gemmapy/sdk/models/platform1.py index ace45c3..7dffe73 100644 --- a/gemmapy/sdk/models/platform1.py +++ b/gemmapy/sdk/models/platform1.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/platform2.py b/gemmapy/sdk/models/platform2.py index 4d98094..2d981bf 100644 --- a/gemmapy/sdk/models/platform2.py +++ b/gemmapy/sdk/models/platform2.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/platform3.py b/gemmapy/sdk/models/platform3.py index 4cadadd..a52abf3 100644 --- a/gemmapy/sdk/models/platform3.py +++ b/gemmapy/sdk/models/platform3.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/platform4.py b/gemmapy/sdk/models/platform4.py index d836d7b..041667b 100644 --- a/gemmapy/sdk/models/platform4.py +++ b/gemmapy/sdk/models/platform4.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/platform5.py b/gemmapy/sdk/models/platform5.py index 55dddd3..5a76797 100644 --- a/gemmapy/sdk/models/platform5.py +++ b/gemmapy/sdk/models/platform5.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/platform_arg.py b/gemmapy/sdk/models/platform_arg.py index c2e4489..4a208e3 100644 --- a/gemmapy/sdk/models/platform_arg.py +++ b/gemmapy/sdk/models/platform_arg.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/probe.py b/gemmapy/sdk/models/probe.py index 650f91e..787503e 100644 --- a/gemmapy/sdk/models/probe.py +++ b/gemmapy/sdk/models/probe.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/quantitation_type.py b/gemmapy/sdk/models/quantitation_type.py index 9ef59fc..e5d11a1 100644 --- a/gemmapy/sdk/models/quantitation_type.py +++ b/gemmapy/sdk/models/quantitation_type.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/quantitation_type_arg.py b/gemmapy/sdk/models/quantitation_type_arg.py index c1cdcc5..0fc72e1 100644 --- a/gemmapy/sdk/models/quantitation_type_arg.py +++ b/gemmapy/sdk/models/quantitation_type_arg.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/quantitation_type_value_object.py b/gemmapy/sdk/models/quantitation_type_value_object.py index 9800b6b..5a14e34 100644 --- a/gemmapy/sdk/models/quantitation_type_value_object.py +++ b/gemmapy/sdk/models/quantitation_type_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_limited_response_data_object_annotation_with_usage_statistics_value_object.py b/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_limited_response_data_object_annotation_with_usage_statistics_value_object.py index 1a06d6b..7ab44b7 100644 --- a/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_limited_response_data_object_annotation_with_usage_statistics_value_object.py +++ b/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_limited_response_data_object_annotation_with_usage_statistics_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_limited_response_data_object_array_design_with_usage_statistics_value_object.py b/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_limited_response_data_object_array_design_with_usage_statistics_value_object.py index cf67ea9..c7d855d 100644 --- a/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_limited_response_data_object_array_design_with_usage_statistics_value_object.py +++ b/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_limited_response_data_object_array_design_with_usage_statistics_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_limited_response_data_object_category_with_usage_statistics_value_object.py b/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_limited_response_data_object_category_with_usage_statistics_value_object.py index 1489c18..5bd05da 100644 --- a/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_limited_response_data_object_category_with_usage_statistics_value_object.py +++ b/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_limited_response_data_object_category_with_usage_statistics_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_paginated_response_data_object_differential_expression_analysis_result_by_gene_value_object.py b/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_paginated_response_data_object_differential_expression_analysis_result_by_gene_value_object.py new file mode 100644 index 0000000..447dbe6 --- /dev/null +++ b/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_paginated_response_data_object_differential_expression_analysis_result_by_gene_value_object.py @@ -0,0 +1,318 @@ +# coding: utf-8 + +""" + Gemma RESTful API + + This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 + + OpenAPI spec version: 2.8.0 + Contact: pavlab-support@msl.ubc.ca + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'list[DifferentialExpressionAnalysisResultByGeneValueObject]', + 'group_by': 'list[str]', + 'sort': 'SortValueObject', + 'offset': 'int', + 'limit': 'int', + 'total_elements': 'int', + 'filter': 'str', + 'query': 'str', + 'inferred_terms': 'list[CharacteristicValueObject]' + } + + attribute_map = { + 'data': 'data', + 'group_by': 'groupBy', + 'sort': 'sort', + 'offset': 'offset', + 'limit': 'limit', + 'total_elements': 'totalElements', + 'filter': 'filter', + 'query': 'query', + 'inferred_terms': 'inferredTerms' + } + + def __init__(self, data=None, group_by=None, sort=None, offset=None, limit=None, total_elements=None, filter=None, query=None, inferred_terms=None): # noqa: E501 + """QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject - a model defined in Swagger""" # noqa: E501 + self._data = None + self._group_by = None + self._sort = None + self._offset = None + self._limit = None + self._total_elements = None + self._filter = None + self._query = None + self._inferred_terms = None + self.discriminator = None + if data is not None: + self.data = data + if group_by is not None: + self.group_by = group_by + if sort is not None: + self.sort = sort + if offset is not None: + self.offset = offset + if limit is not None: + self.limit = limit + if total_elements is not None: + self.total_elements = total_elements + if filter is not None: + self.filter = filter + if query is not None: + self.query = query + if inferred_terms is not None: + self.inferred_terms = inferred_terms + + @property + def data(self): + """Gets the data of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The data of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: list[DifferentialExpressionAnalysisResultByGeneValueObject] + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. + + + :param data: The data of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: list[DifferentialExpressionAnalysisResultByGeneValueObject] + """ + + self._data = data + + @property + def group_by(self): + """Gets the group_by of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The group_by of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: list[str] + """ + return self._group_by + + @group_by.setter + def group_by(self, group_by): + """Sets the group_by of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. + + + :param group_by: The group_by of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: list[str] + """ + + self._group_by = group_by + + @property + def sort(self): + """Gets the sort of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The sort of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: SortValueObject + """ + return self._sort + + @sort.setter + def sort(self, sort): + """Sets the sort of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. + + + :param sort: The sort of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: SortValueObject + """ + + self._sort = sort + + @property + def offset(self): + """Gets the offset of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The offset of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. + + + :param offset: The offset of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: int + """ + + self._offset = offset + + @property + def limit(self): + """Gets the limit of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The limit of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. + + + :param limit: The limit of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: int + """ + + self._limit = limit + + @property + def total_elements(self): + """Gets the total_elements of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The total_elements of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: int + """ + return self._total_elements + + @total_elements.setter + def total_elements(self, total_elements): + """Sets the total_elements of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. + + + :param total_elements: The total_elements of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: int + """ + + self._total_elements = total_elements + + @property + def filter(self): + """Gets the filter of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The filter of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: str + """ + return self._filter + + @filter.setter + def filter(self, filter): + """Sets the filter of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. + + + :param filter: The filter of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: str + """ + + self._filter = filter + + @property + def query(self): + """Gets the query of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The query of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: str + """ + return self._query + + @query.setter + def query(self, query): + """Sets the query of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. + + + :param query: The query of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: str + """ + + self._query = query + + @property + def inferred_terms(self): + """Gets the inferred_terms of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + + + :return: The inferred_terms of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :rtype: list[CharacteristicValueObject] + """ + return self._inferred_terms + + @inferred_terms.setter + def inferred_terms(self, inferred_terms): + """Sets the inferred_terms of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. + + + :param inferred_terms: The inferred_terms of this QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject. # noqa: E501 + :type: list[CharacteristicValueObject] + """ + + self._inferred_terms = inferred_terms + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_paginated_response_data_object_expression_experiment_with_search_result_value_object.py b/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_paginated_response_data_object_expression_experiment_with_search_result_value_object.py index 9600ab6..20b5a0c 100644 --- a/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_paginated_response_data_object_expression_experiment_with_search_result_value_object.py +++ b/gemmapy/sdk/models/queried_and_filtered_and_inferred_and_paginated_response_data_object_expression_experiment_with_search_result_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/queried_and_filtered_and_inferred_response_data_object_taxon_with_usage_statistics_value_object.py b/gemmapy/sdk/models/queried_and_filtered_and_inferred_response_data_object_taxon_with_usage_statistics_value_object.py index e89c5bb..843ce8a 100644 --- a/gemmapy/sdk/models/queried_and_filtered_and_inferred_response_data_object_taxon_with_usage_statistics_value_object.py +++ b/gemmapy/sdk/models/queried_and_filtered_and_inferred_response_data_object_taxon_with_usage_statistics_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/queried_and_filtered_and_paginated_response_data_object_expression_experiment_value_object.py b/gemmapy/sdk/models/queried_and_filtered_and_paginated_response_data_object_expression_experiment_value_object.py index a9a31d6..57d726e 100644 --- a/gemmapy/sdk/models/queried_and_filtered_and_paginated_response_data_object_expression_experiment_value_object.py +++ b/gemmapy/sdk/models/queried_and_filtered_and_paginated_response_data_object_expression_experiment_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/query_arg.py b/gemmapy/sdk/models/query_arg.py index ce62fc5..bfea963 100644 --- a/gemmapy/sdk/models/query_arg.py +++ b/gemmapy/sdk/models/query_arg.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/response_data_object_api_info_value_object.py b/gemmapy/sdk/models/response_data_object_api_info_value_object.py index c3e13ac..049f82f 100644 --- a/gemmapy/sdk/models/response_data_object_api_info_value_object.py +++ b/gemmapy/sdk/models/response_data_object_api_info_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/response_data_object_list_annotation_search_result_value_object.py b/gemmapy/sdk/models/response_data_object_list_annotation_search_result_value_object.py index bfc063f..3bbcfd3 100644 --- a/gemmapy/sdk/models/response_data_object_list_annotation_search_result_value_object.py +++ b/gemmapy/sdk/models/response_data_object_list_annotation_search_result_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/response_data_object_list_array_design_value_object.py b/gemmapy/sdk/models/response_data_object_list_array_design_value_object.py index 425d5b5..2e74cff 100644 --- a/gemmapy/sdk/models/response_data_object_list_array_design_value_object.py +++ b/gemmapy/sdk/models/response_data_object_list_array_design_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/response_data_object_list_bio_assay_value_object.py b/gemmapy/sdk/models/response_data_object_list_bio_assay_value_object.py index 53d2d5c..8535fb7 100644 --- a/gemmapy/sdk/models/response_data_object_list_bio_assay_value_object.py +++ b/gemmapy/sdk/models/response_data_object_list_bio_assay_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/response_data_object_list_differential_expression_analysis_value_object.py b/gemmapy/sdk/models/response_data_object_list_differential_expression_analysis_value_object.py index 1c99bd5..0ba0b16 100644 --- a/gemmapy/sdk/models/response_data_object_list_differential_expression_analysis_value_object.py +++ b/gemmapy/sdk/models/response_data_object_list_differential_expression_analysis_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/response_data_object_list_experiment_expression_levels_value_object.py b/gemmapy/sdk/models/response_data_object_list_experiment_expression_levels_value_object.py index ed29ae4..34f5d04 100644 --- a/gemmapy/sdk/models/response_data_object_list_experiment_expression_levels_value_object.py +++ b/gemmapy/sdk/models/response_data_object_list_experiment_expression_levels_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/response_data_object_list_gene_ontology_term_value_object.py b/gemmapy/sdk/models/response_data_object_list_gene_ontology_term_value_object.py index bec52b3..6b211b7 100644 --- a/gemmapy/sdk/models/response_data_object_list_gene_ontology_term_value_object.py +++ b/gemmapy/sdk/models/response_data_object_list_gene_ontology_term_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/response_data_object_list_gene_value_object.py b/gemmapy/sdk/models/response_data_object_list_gene_value_object.py index d5911e9..55063e7 100644 --- a/gemmapy/sdk/models/response_data_object_list_gene_value_object.py +++ b/gemmapy/sdk/models/response_data_object_list_gene_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/response_data_object_list_physical_location_value_object.py b/gemmapy/sdk/models/response_data_object_list_physical_location_value_object.py index f66022b..7f00944 100644 --- a/gemmapy/sdk/models/response_data_object_list_physical_location_value_object.py +++ b/gemmapy/sdk/models/response_data_object_list_physical_location_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/response_data_object_list_taxon_value_object.py b/gemmapy/sdk/models/response_data_object_list_taxon_value_object.py index c8c43b3..d8d2bea 100644 --- a/gemmapy/sdk/models/response_data_object_list_taxon_value_object.py +++ b/gemmapy/sdk/models/response_data_object_list_taxon_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/response_data_object_long.py b/gemmapy/sdk/models/response_data_object_long.py index a43fa11..bcddda5 100644 --- a/gemmapy/sdk/models/response_data_object_long.py +++ b/gemmapy/sdk/models/response_data_object_long.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/response_data_object_set_annotation_value_object.py b/gemmapy/sdk/models/response_data_object_set_annotation_value_object.py index 289c49c..b107154 100644 --- a/gemmapy/sdk/models/response_data_object_set_annotation_value_object.py +++ b/gemmapy/sdk/models/response_data_object_set_annotation_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/response_data_object_set_quantitation_type_value_object.py b/gemmapy/sdk/models/response_data_object_set_quantitation_type_value_object.py index bc90670..4a256c7 100644 --- a/gemmapy/sdk/models/response_data_object_set_quantitation_type_value_object.py +++ b/gemmapy/sdk/models/response_data_object_set_quantitation_type_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/response_data_object_simple_svd_value_object.py b/gemmapy/sdk/models/response_data_object_simple_svd_value_object.py index 290d058..b9b3b4c 100644 --- a/gemmapy/sdk/models/response_data_object_simple_svd_value_object.py +++ b/gemmapy/sdk/models/response_data_object_simple_svd_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/response_error_object.py b/gemmapy/sdk/models/response_error_object.py index 60ce9e4..228b8b7 100644 --- a/gemmapy/sdk/models/response_error_object.py +++ b/gemmapy/sdk/models/response_error_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -29,23 +29,28 @@ class ResponseErrorObject(object): """ swagger_types = { 'error': 'WellComposedErrorBody', - 'api_version': 'str' + 'api_version': 'str', + 'build_info': 'BuildInfoValueObject' } attribute_map = { 'error': 'error', - 'api_version': 'apiVersion' + 'api_version': 'apiVersion', + 'build_info': 'buildInfo' } - def __init__(self, error=None, api_version=None): # noqa: E501 + def __init__(self, error=None, api_version=None, build_info=None): # noqa: E501 """ResponseErrorObject - a model defined in Swagger""" # noqa: E501 self._error = None self._api_version = None + self._build_info = None self.discriminator = None if error is not None: self.error = error if api_version is not None: self.api_version = api_version + if build_info is not None: + self.build_info = build_info @property def error(self): @@ -89,6 +94,27 @@ def api_version(self, api_version): self._api_version = api_version + @property + def build_info(self): + """Gets the build_info of this ResponseErrorObject. # noqa: E501 + + + :return: The build_info of this ResponseErrorObject. # noqa: E501 + :rtype: BuildInfoValueObject + """ + return self._build_info + + @build_info.setter + def build_info(self, build_info): + """Sets the build_info of this ResponseErrorObject. + + + :param build_info: The build_info of this ResponseErrorObject. # noqa: E501 + :type: BuildInfoValueObject + """ + + self._build_info = build_info + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/gemmapy/sdk/models/search_result_type.py b/gemmapy/sdk/models/search_result_type.py index 50751d8..d16eb28 100644 --- a/gemmapy/sdk/models/search_result_type.py +++ b/gemmapy/sdk/models/search_result_type.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/search_result_value_object_expression_experiment_value_object.py b/gemmapy/sdk/models/search_result_value_object_expression_experiment_value_object.py index 5e9897c..de44d98 100644 --- a/gemmapy/sdk/models/search_result_value_object_expression_experiment_value_object.py +++ b/gemmapy/sdk/models/search_result_value_object_expression_experiment_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/search_result_value_object_object.py b/gemmapy/sdk/models/search_result_value_object_object.py index 34f1a60..212c731 100644 --- a/gemmapy/sdk/models/search_result_value_object_object.py +++ b/gemmapy/sdk/models/search_result_value_object_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/search_results_response_data_object.py b/gemmapy/sdk/models/search_results_response_data_object.py index ef4703b..754d841 100644 --- a/gemmapy/sdk/models/search_results_response_data_object.py +++ b/gemmapy/sdk/models/search_results_response_data_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/search_settings_value_object.py b/gemmapy/sdk/models/search_settings_value_object.py index f70780e..91116c1 100644 --- a/gemmapy/sdk/models/search_settings_value_object.py +++ b/gemmapy/sdk/models/search_settings_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/simple_svd_value_object.py b/gemmapy/sdk/models/simple_svd_value_object.py index 0364be8..51d13f6 100644 --- a/gemmapy/sdk/models/simple_svd_value_object.py +++ b/gemmapy/sdk/models/simple_svd_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/sort_arg_array_design.py b/gemmapy/sdk/models/sort_arg_array_design.py index 6062386..bd9915d 100644 --- a/gemmapy/sdk/models/sort_arg_array_design.py +++ b/gemmapy/sdk/models/sort_arg_array_design.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/sort_arg_expression_analysis_result_set.py b/gemmapy/sdk/models/sort_arg_expression_analysis_result_set.py index c77ab4d..cd93b71 100644 --- a/gemmapy/sdk/models/sort_arg_expression_analysis_result_set.py +++ b/gemmapy/sdk/models/sort_arg_expression_analysis_result_set.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/sort_arg_expression_experiment.py b/gemmapy/sdk/models/sort_arg_expression_experiment.py index 4558102..af5009c 100644 --- a/gemmapy/sdk/models/sort_arg_expression_experiment.py +++ b/gemmapy/sdk/models/sort_arg_expression_experiment.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/sort_value_object.py b/gemmapy/sdk/models/sort_value_object.py index c524501..b1cf4f4 100644 --- a/gemmapy/sdk/models/sort_value_object.py +++ b/gemmapy/sdk/models/sort_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/statement_value_object.py b/gemmapy/sdk/models/statement_value_object.py index fbd4134..3da34b0 100644 --- a/gemmapy/sdk/models/statement_value_object.py +++ b/gemmapy/sdk/models/statement_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/taxon.py b/gemmapy/sdk/models/taxon.py index ccccb37..5abb26b 100644 --- a/gemmapy/sdk/models/taxon.py +++ b/gemmapy/sdk/models/taxon.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/taxon1.py b/gemmapy/sdk/models/taxon1.py index 2996de8..4b053a5 100644 --- a/gemmapy/sdk/models/taxon1.py +++ b/gemmapy/sdk/models/taxon1.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/taxon10.py b/gemmapy/sdk/models/taxon10.py new file mode 100644 index 0000000..c07aa20 --- /dev/null +++ b/gemmapy/sdk/models/taxon10.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + Gemma RESTful API + + This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 + + OpenAPI spec version: 2.8.0 + Contact: pavlab-support@msl.ubc.ca + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class Taxon10(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """Taxon10 - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(Taxon10, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Taxon10): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gemmapy/sdk/models/taxon11.py b/gemmapy/sdk/models/taxon11.py new file mode 100644 index 0000000..901f33e --- /dev/null +++ b/gemmapy/sdk/models/taxon11.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + Gemma RESTful API + + This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 + + OpenAPI spec version: 2.8.0 + Contact: pavlab-support@msl.ubc.ca + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class Taxon11(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """Taxon11 - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(Taxon11, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Taxon11): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gemmapy/sdk/models/taxon12.py b/gemmapy/sdk/models/taxon12.py new file mode 100644 index 0000000..9850bd7 --- /dev/null +++ b/gemmapy/sdk/models/taxon12.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + Gemma RESTful API + + This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 + + OpenAPI spec version: 2.8.0 + Contact: pavlab-support@msl.ubc.ca + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class Taxon12(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """Taxon12 - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(Taxon12, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Taxon12): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gemmapy/sdk/models/taxon2.py b/gemmapy/sdk/models/taxon2.py index d222507..4fe2913 100644 --- a/gemmapy/sdk/models/taxon2.py +++ b/gemmapy/sdk/models/taxon2.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/taxon3.py b/gemmapy/sdk/models/taxon3.py index cf0941b..93d94b6 100644 --- a/gemmapy/sdk/models/taxon3.py +++ b/gemmapy/sdk/models/taxon3.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/taxon4.py b/gemmapy/sdk/models/taxon4.py index 6ba5ff3..73641ef 100644 --- a/gemmapy/sdk/models/taxon4.py +++ b/gemmapy/sdk/models/taxon4.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/taxon5.py b/gemmapy/sdk/models/taxon5.py index 75677fa..f57aee5 100644 --- a/gemmapy/sdk/models/taxon5.py +++ b/gemmapy/sdk/models/taxon5.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/taxon6.py b/gemmapy/sdk/models/taxon6.py index cad58b8..193e6eb 100644 --- a/gemmapy/sdk/models/taxon6.py +++ b/gemmapy/sdk/models/taxon6.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/taxon7.py b/gemmapy/sdk/models/taxon7.py index f5c5be3..0eebed3 100644 --- a/gemmapy/sdk/models/taxon7.py +++ b/gemmapy/sdk/models/taxon7.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/taxon8.py b/gemmapy/sdk/models/taxon8.py index ebf2766..e909d66 100644 --- a/gemmapy/sdk/models/taxon8.py +++ b/gemmapy/sdk/models/taxon8.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/taxon9.py b/gemmapy/sdk/models/taxon9.py index eb99fa5..ac03fa1 100644 --- a/gemmapy/sdk/models/taxon9.py +++ b/gemmapy/sdk/models/taxon9.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/taxon_arg.py b/gemmapy/sdk/models/taxon_arg.py index b8002be..60362db 100644 --- a/gemmapy/sdk/models/taxon_arg.py +++ b/gemmapy/sdk/models/taxon_arg.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/taxon_value_object.py b/gemmapy/sdk/models/taxon_value_object.py index a9fe636..f42bfed 100644 --- a/gemmapy/sdk/models/taxon_value_object.py +++ b/gemmapy/sdk/models/taxon_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/taxon_with_usage_statistics_value_object.py b/gemmapy/sdk/models/taxon_with_usage_statistics_value_object.py index ab549eb..9b1f12b 100644 --- a/gemmapy/sdk/models/taxon_with_usage_statistics_value_object.py +++ b/gemmapy/sdk/models/taxon_with_usage_statistics_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/vector_element_value_object.py b/gemmapy/sdk/models/vector_element_value_object.py index 5f7c717..d0211ff 100644 --- a/gemmapy/sdk/models/vector_element_value_object.py +++ b/gemmapy/sdk/models/vector_element_value_object.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/models/well_composed_error_body.py b/gemmapy/sdk/models/well_composed_error_body.py index b3e1ebf..0ff6cd5 100644 --- a/gemmapy/sdk/models/well_composed_error_body.py +++ b/gemmapy/sdk/models/well_composed_error_body.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/gemmapy/sdk/rest.py b/gemmapy/sdk/rest.py index d22d793..7d48b94 100644 --- a/gemmapy/sdk/rest.py +++ b/gemmapy/sdk/rest.py @@ -5,7 +5,7 @@ This website documents the usage of the [Gemma RESTful API](https://gemma.msl.ubc.ca/rest/v2/). Here you can find example script usage of the API, as well as graphical interface for each endpoint, with description of its parameters and the endpoint URL. Use of this webpage and the Gemma Web services, including the REST API, is subject to [these terms and conditions](https://pavlidislab.github.io/Gemma/terms.html). Please read these in full before continuing to use this webpage or any other part of the Gemma system. You can [consult the CHANGELOG.md file](https://gemma.msl.ubc.ca/resources/restapidocs/CHANGELOG.md) to view release notes and recent changes to the Gemma RESTful API. # noqa: E501 - OpenAPI spec version: 2.7.5 + OpenAPI spec version: 2.8.0 Contact: pavlab-support@msl.ubc.ca Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/sdk-gen/openapi.yaml b/sdk-gen/openapi.yaml index 9ed1e03..758f4bf 100644 --- a/sdk-gen/openapi.yaml +++ b/sdk-gen/openapi.yaml @@ -14,12 +14,9 @@ info: name: Pavlidis Lab Support url: https://pavlab.msl.ubc.ca/ email: pavlab-support@msl.ubc.ca - version: 2.7.5 + version: 2.8.0 servers: - url: https://gemma.msl.ubc.ca/rest/v2 - description: Gemma -- url: https://dev.gemma.msl.ubc.ca/rest/v2 - description: Gemma (development server) security: - basicAuth: [] - cookieAuth: [] @@ -128,7 +125,10 @@ paths: in: query explode: false schema: + minItems: 1 type: array + description: A comma-delimited list of dataset IDs or short names. The value + may be compressed with gzip and encoded with base64. items: oneOf: - type: integer @@ -140,7 +140,10 @@ paths: in: query explode: false schema: + minItems: 1 type: array + description: A comma-delimited list of database entry IDs or accessions. + The value may be compressed with gzip and encoded with base64. items: oneOf: - type: integer @@ -180,6 +183,84 @@ paths: application/json: schema: $ref: '#/components/schemas/FilteredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultSetValueObject' + /annotations/children: + get: + summary: Retrieve the children of the given annotations + description: "Terms that are returned satisfies the [inverse of rdfs:subClassOf](https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/#Subclass_Axioms)\ + \ or [has_part](http://purl.obolibrary.org/obo/BFO_0000051) relations. When\ + \ `direct` is set to false, this rule is applied recursively." + operationId: getAnnotationsChildren + parameters: + - name: uri + in: query + description: Term URI + schema: + type: string + - name: direct + in: query + description: Only include direct parents. + schema: + type: boolean + default: false + responses: + default: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/AnnotationSearchResultValueObject' + "404": + description: No term matched the given URI. + content: + application/json: + schema: + $ref: '#/components/schemas/ResponseErrorObject' + "503": + description: Ontology inference timed out. + content: + application/json: + schema: + $ref: '#/components/schemas/ResponseErrorObject' + /annotations/parents: + get: + summary: Retrieve the parents of the given annotations + description: "Terms that are returned satisfies the [rdfs:subClassOf](https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/#Subclass_Axioms)\ + \ or [part_of](http://purl.obolibrary.org/obo/BFO_0000050) relations. When\ + \ `direct` is set to false, this rule is applied recursively." + operationId: getAnnotationsParents + parameters: + - name: uri + in: query + description: Term URI + schema: + type: string + - name: direct + in: query + description: Only include direct children. + schema: + type: boolean + default: false + responses: + default: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/AnnotationSearchResultValueObject' + "404": + description: No term matched the given URI. + content: + application/json: + schema: + $ref: '#/components/schemas/ResponseErrorObject' + "503": + description: Ontology inference timed out. + content: + application/json: + schema: + $ref: '#/components/schemas/ResponseErrorObject' /annotations/search: get: summary: Search for annotation tags @@ -190,6 +271,7 @@ paths: description: A comma-delimited list of keywords to find annotations. explode: false schema: + minItems: 1 type: array description: A comma-delimited list of strings. The value may be compressed with gzip and encoded with base64. @@ -228,6 +310,7 @@ paths: required: true explode: false schema: + minItems: 1 type: array description: A comma-delimited list of strings. The value may be compressed with gzip and encoded with base64. @@ -260,6 +343,7 @@ paths: datasets for each query are intersected. explode: false schema: + minItems: 1 type: array description: A comma-delimited list of strings. The value may be compressed with gzip and encoded with base64. @@ -325,6 +409,7 @@ paths: required: true explode: false schema: + minItems: 1 type: array description: A comma-delimited list of strings. The value may be compressed with gzip and encoded with base64. @@ -402,6 +487,7 @@ paths: datasets for each query are intersected. explode: false schema: + minItems: 1 type: array description: A comma-delimited list of strings. The value may be compressed with gzip and encoded with base64. @@ -484,6 +570,7 @@ paths: required: true explode: false schema: + minItems: 1 type: array description: A comma-delimited list of strings. The value may be compressed with gzip and encoded with base64. @@ -528,6 +615,44 @@ paths: schema: $ref: '#/components/schemas/ResponseErrorObject' deprecated: true + /datasets/{dataset}/refresh: + get: + summary: Retrieve a refreshed dataset + operationId: getDataset + parameters: + - name: dataset + in: path + required: true + schema: + oneOf: + - type: integer + description: A numerical dataset identifier. + format: int64 + - type: string + description: A dataset short name. + - name: refreshVectors + in: query + description: Refresh raw and processed data vectors. + schema: + type: boolean + default: false + - name: refreshReports + in: query + description: Refresh experiment reports which include differential expression + analyses and batch effects. + schema: + type: boolean + default: false + responses: + default: + description: default response + content: + application/json: {} + security: + - basicAuth: + - GROUP_ADMIN + - cookieAuth: + - GROUP_ADMIN /datasets/{dataset}/annotations: get: summary: Retrieve the annotations of a dataset @@ -583,65 +708,6 @@ paths: application/json: schema: $ref: '#/components/schemas/ResponseErrorObject' - /datasets/{datasets}/expressions/differential: - get: - summary: Retrieve the expression levels of a set of datasets subject to a threshold - on their differential expressions - operationId: getDatasetDifferentialExpression - parameters: - - name: datasets - in: path - required: true - schema: - type: array - items: - oneOf: - - type: integer - description: A numerical dataset identifier. - format: int64 - - type: string - description: A dataset short name. - - name: diffExSet - in: query - schema: - type: integer - format: int64 - - name: threshold - in: query - schema: - type: number - format: double - default: 1.0 - - name: limit - in: query - schema: - maximum: 100 - minimum: 1 - type: integer - description: Limit the number of results retrieved. - format: int32 - default: 100 - - name: keepNonSpecific - in: query - schema: - type: boolean - default: false - - name: consolidate - in: query - schema: - type: string - description: An option for gene expression level consolidation. - enum: - - pickmax - - pickvar - - average - responses: - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ResponseDataObjectListExperimentExpressionLevelsValueObject' /datasets/{dataset}/analyses/differential: get: summary: Retrieve annotations and surface level stats for a dataset's differential @@ -690,7 +756,7 @@ paths: /datasets/{dataset}/analyses/differential/resultSets: get: summary: Retrieve the result sets of all differential analyses of a dataset - operationId: getDatasetDifferentialExpressionAnalysesResultSets + operationId: getDatasetDifferentialExpressionAnalysisResultSets parameters: - name: dataset in: path @@ -750,252 +816,67 @@ paths: schema: $ref: '#/components/schemas/ResponseErrorObject' deprecated: true - /datasets/{datasets}/expressions/genes/{genes}: + /datasets/{dataset}/platforms: get: - summary: Retrieve the expression data matrix of a set of datasets and genes - operationId: getDatasetExpressionForGenes + summary: Retrieve the platforms of a dataset + operationId: getDatasetPlatforms parameters: - - name: datasets - in: path - required: true - schema: - type: array - items: - oneOf: - - type: integer - description: A numerical dataset identifier. - format: int64 - - type: string - description: A dataset short name. - - name: genes + - name: dataset in: path required: true schema: - type: array - items: - oneOf: - - type: string - description: An Ensembl gene identifier which typically starts with - 'ENSG'. - externalDocs: - url: https://www.ensembl.org/ - - type: string - description: An NCBI gene identifier. - externalDocs: - url: https://www.ncbi.nlm.nih.gov/gene - - type: string - description: An official gene symbol approved by HGNC. - externalDocs: - url: https://www.genenames.org/ - - name: keepNonSpecific - in: query - schema: - type: boolean - default: false - - name: consolidate - in: query - schema: - type: string - description: An option for gene expression level consolidation. - enum: - - pickmax - - pickvar - - average + oneOf: + - type: integer + description: A numerical dataset identifier. + format: int64 + - type: string + description: A dataset short name. responses: default: - description: default response content: application/json: schema: - $ref: '#/components/schemas/ResponseDataObjectListExperimentExpressionLevelsValueObject' - /datasets/{datasets}/expressions/taxa/{taxa}/genes/{genes}: + $ref: '#/components/schemas/ResponseDataObjectListArrayDesignValueObject' + "404": + description: The dataset does not exist. + content: + application/json: + schema: + $ref: '#/components/schemas/ResponseErrorObject' + /datasets/{dataset}/data/processed: get: - summary: Retrieve the expression data matrix of a set of datasets and genes - operationId: getDatasetExpressionForGenesInTaxa + summary: Retrieve processed expression data of a dataset + operationId: getDatasetProcessedExpression parameters: - - name: datasets - in: path - required: true - schema: - type: array - items: - oneOf: - - type: integer - description: A numerical dataset identifier. - format: int64 - - type: string - description: A dataset short name. - - name: taxa + - name: dataset in: path required: true schema: oneOf: - type: integer - description: A numerical taxon identifier. - format: int64 - - type: integer - description: An NCBI taxon identifier. + description: A numerical dataset identifier. format: int64 - externalDocs: - url: https://www.ncbi.nlm.nih.gov/taxonomy - type: string - description: A taxon identifier that matches either its scientific or - common name. - - name: genes - in: path - required: true - schema: - type: array - items: - oneOf: - - type: string - description: An Ensembl gene identifier which typically starts with - 'ENSG'. - externalDocs: - url: https://www.ensembl.org/ - - type: string - description: An NCBI gene identifier. - externalDocs: - url: https://www.ncbi.nlm.nih.gov/gene - - type: string - description: An official gene symbol approved by HGNC. - externalDocs: - url: https://www.genenames.org/ - - name: keepNonSpecific - in: query - schema: - type: boolean - default: false - - name: consolidate - in: query - schema: - type: string - description: An option for gene expression level consolidation. - enum: - - pickmax - - pickvar - - average - responses: - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ResponseDataObjectListExperimentExpressionLevelsValueObject' - /datasets/{datasets}/expressions/pca: - get: - summary: Retrieve the principal components (PCA) of a set of datasets - operationId: getDatasetExpressionPca - parameters: - - name: datasets - in: path - required: true - schema: - type: array - items: - oneOf: - - type: integer - description: A numerical dataset identifier. - format: int64 - - type: string - description: A dataset short name. - - name: component - in: query - schema: - type: integer - format: int32 - default: 1 - - name: limit - in: query - schema: - maximum: 100 - minimum: 1 - type: integer - description: Limit the number of results retrieved. - format: int32 - default: 100 - - name: keepNonSpecific - in: query - schema: - type: boolean - default: false - - name: consolidate - in: query - schema: - type: string - description: An option for gene expression level consolidation. - enum: - - pickmax - - pickvar - - average - responses: - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ResponseDataObjectListExperimentExpressionLevelsValueObject' - /datasets/{dataset}/platforms: - get: - summary: Retrieve the platforms of a dataset - operationId: getDatasetPlatforms - parameters: - - name: dataset - in: path - required: true - schema: - oneOf: - - type: integer - description: A numerical dataset identifier. - format: int64 - - type: string - description: A dataset short name. - responses: - default: - content: - application/json: - schema: - $ref: '#/components/schemas/ResponseDataObjectListArrayDesignValueObject' - "404": - description: The dataset does not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ResponseErrorObject' - /datasets/{dataset}/data/processed: - get: - summary: Retrieve processed expression data of a dataset - operationId: getDatasetProcessedExpression - parameters: - - name: dataset - in: path - required: true - schema: - oneOf: - - type: integer - description: A numerical dataset identifier. - format: int64 - - type: string - description: A dataset short name. - responses: - default: - content: - text/tab-separated-values; charset=UTF-8: - schema: - type: string - format: binary - "404": - description: Either the dataset or the quantitation type do not exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ResponseErrorObject' - /datasets/{dataset}/quantitationTypes: - get: - summary: Retrieve quantitation types of a dataset - operationId: getDatasetQuantitationTypes - parameters: - - name: dataset + description: A dataset short name. + responses: + default: + content: + text/tab-separated-values; charset=UTF-8: + schema: + type: string + format: binary + "404": + description: Either the dataset or the quantitation type do not exist. + content: + application/json: + schema: + $ref: '#/components/schemas/ResponseErrorObject' + /datasets/{dataset}/quantitationTypes: + get: + summary: Retrieve quantitation types of a dataset + operationId: getDatasetQuantitationTypes + parameters: + - name: dataset in: path required: true schema: @@ -1228,7 +1109,10 @@ paths: in: path required: true schema: + minItems: 1 type: array + description: A comma-delimited list of dataset IDs or short names. The value + may be compressed with gzip and encoded with base64. items: oneOf: - type: integer @@ -1307,7 +1191,585 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ResponseErrorObject' + $ref: '#/components/schemas/ResponseErrorObject' + /datasets/{datasets}/expressions/differential: + get: + summary: Retrieve the expression levels of a set of datasets subject to a threshold + on their differential expressions + operationId: getDatasetsDifferentialExpression + parameters: + - name: datasets + in: path + required: true + schema: + minItems: 1 + type: array + description: A comma-delimited list of dataset IDs or short names. The value + may be compressed with gzip and encoded with base64. + items: + oneOf: + - type: integer + description: A numerical dataset identifier. + format: int64 + - type: string + description: A dataset short name. + - name: diffExSet + in: query + schema: + type: integer + format: int64 + - name: threshold + in: query + schema: + type: number + format: double + default: 1.0 + - name: limit + in: query + schema: + maximum: 100 + minimum: 1 + type: integer + description: Limit the number of results retrieved. + format: int32 + default: 100 + - name: keepNonSpecific + in: query + schema: + type: boolean + default: false + - name: consolidate + in: query + schema: + type: string + description: An option for gene expression level consolidation. + enum: + - pickmax + - pickvar + - average + responses: + default: + description: default response + content: + application/json: + schema: + $ref: '#/components/schemas/ResponseDataObjectListExperimentExpressionLevelsValueObject' + /datasets/analyses/differential/results/genes/{gene}: + get: + summary: Retrieve the differential expression results for a given gene among + datasets matching the provided query and filter + description: |- + Pagination with `offset` and `limit` is done on the datasets, thus `data` will hold a variable number of results. + + If a result set has more than one probe for a given gene, the result corresponding to the lowest corrected P-value is retained. This statistic reflects the goodness of the fit of the linear model for the probe, and not the significance of the contrasts. + + Results for non-specific probes (i.e. probes that map to more than one genes) are excluded. + operationId: getDatasetsDifferentialExpressionAnalysisResultsForGene + parameters: + - name: gene + in: path + required: true + schema: + oneOf: + - type: string + description: An Ensembl gene identifier which typically starts with 'ENSG'. + externalDocs: + url: https://www.ensembl.org/ + - type: string + description: An NCBI gene identifier. + externalDocs: + url: https://www.ncbi.nlm.nih.gov/gene + - type: string + description: An official gene symbol approved by HGNC. + externalDocs: + url: https://www.genenames.org/ + - name: query + in: query + schema: + $ref: '#/components/schemas/QueryArg' + - name: filter + in: query + schema: + $ref: '#/components/schemas/FilterArgExpressionExperiment' + - name: offset + in: query + schema: + minimum: 0 + type: integer + description: The offset of the first retrieved result. + format: int32 + - name: limit + in: query + schema: + maximum: 100 + minimum: 1 + type: integer + description: Limit the number of results retrieved. + format: int32 + - name: threshold + in: query + description: Maximum threshold on the corrected P-value to retain a result. + The threshold is inclusive (i.e. 0.05 will match results with corrected + P-values lower or equal to 0.05). + schema: + maximum: 1.0 + minimum: 0.0 + type: number + format: double + default: 1.0 + responses: + default: + content: + application/json: + schema: + $ref: '#/components/schemas/QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject' + text/tab-separated-values; charset=UTF-8: + schema: + type: string + format: binary + /datasets/analyses/differential/results/taxa/{taxon}/genes/{gene}: + get: + summary: Retrieve the differential expression results for a given gene and taxa + among datasets matching the provided query and filter + description: |- + Pagination with `offset` and `limit` is done on the datasets, thus `data` will hold a variable number of results. + + If a result set has more than one probe for a given gene, the result corresponding to the lowest corrected P-value is retained. This statistic reflects the goodness of the fit of the linear model for the probe, and not the significance of the contrasts. + + Results for non-specific probes (i.e. probes that map to more than one genes) are excluded. + operationId: getDatasetsDifferentialExpressionAnalysisResultsForGeneInTaxon + parameters: + - name: taxon + in: path + required: true + schema: + oneOf: + - type: integer + description: A numerical taxon identifier. + format: int64 + - type: integer + description: An NCBI taxon identifier. + format: int64 + externalDocs: + url: https://www.ncbi.nlm.nih.gov/taxonomy + - type: string + description: A taxon identifier that matches either its scientific or + common name. + - name: gene + in: path + required: true + schema: + oneOf: + - type: string + description: An Ensembl gene identifier which typically starts with 'ENSG'. + externalDocs: + url: https://www.ensembl.org/ + - type: string + description: An NCBI gene identifier. + externalDocs: + url: https://www.ncbi.nlm.nih.gov/gene + - type: string + description: An official gene symbol approved by HGNC. + externalDocs: + url: https://www.genenames.org/ + - name: query + in: query + schema: + $ref: '#/components/schemas/QueryArg' + - name: filter + in: query + schema: + $ref: '#/components/schemas/FilterArgExpressionExperiment' + - name: offset + in: query + schema: + minimum: 0 + type: integer + description: The offset of the first retrieved result. + format: int32 + - name: limit + in: query + schema: + maximum: 100 + minimum: 1 + type: integer + description: Limit the number of results retrieved. + format: int32 + - name: threshold + in: query + description: Maximum threshold on the corrected P-value to retain a result. + The threshold is inclusive (i.e. 0.05 will match results with corrected + P-values lower or equal to 0.05). + schema: + maximum: 1.0 + minimum: 0.0 + type: number + format: double + default: 1.0 + responses: + default: + content: + application/json: + schema: + $ref: '#/components/schemas/QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject' + text/tab-separated-values; charset=UTF-8: + schema: + type: string + format: binary + /datasets/expressions/genes/{gene}: + get: + summary: Retrieve the expression levels of a gene among datasets matching the + provided query and filter + operationId: getDatasetsExpressionLevelsForGene + parameters: + - name: gene + in: path + required: true + schema: + oneOf: + - type: string + description: An Ensembl gene identifier which typically starts with 'ENSG'. + externalDocs: + url: https://www.ensembl.org/ + - type: string + description: An NCBI gene identifier. + externalDocs: + url: https://www.ncbi.nlm.nih.gov/gene + - type: string + description: An official gene symbol approved by HGNC. + externalDocs: + url: https://www.genenames.org/ + - name: query + in: query + schema: + $ref: '#/components/schemas/QueryArg' + - name: filter + in: query + schema: + $ref: '#/components/schemas/FilterArgExpressionExperiment' + - name: offset + in: query + schema: + minimum: 0 + type: integer + description: The offset of the first retrieved result. + format: int32 + default: 0 + - name: limit + in: query + schema: + maximum: 100 + minimum: 1 + type: integer + description: Limit the number of results retrieved. + format: int32 + default: 20 + - name: keepNonSpecific + in: query + schema: + type: boolean + default: false + - name: consolidate + in: query + schema: + type: string + description: An option for gene expression level consolidation. + enum: + - pickmax + - pickvar + - average + responses: + default: + description: default response + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedResponseDataObjectExperimentExpressionLevelsValueObject' + /datasets/expressions/taxa/{taxon}/genes/{gene}: + get: + summary: Retrieve the expression levels of a gene and taxa among datasets matching + the provided query and filter + operationId: getDatasetsExpressionLevelsForGeneInTaxon + parameters: + - name: taxon + in: path + required: true + schema: + oneOf: + - type: integer + description: A numerical taxon identifier. + format: int64 + - type: integer + description: An NCBI taxon identifier. + format: int64 + externalDocs: + url: https://www.ncbi.nlm.nih.gov/taxonomy + - type: string + description: A taxon identifier that matches either its scientific or + common name. + - name: gene + in: path + required: true + schema: + oneOf: + - type: string + description: An Ensembl gene identifier which typically starts with 'ENSG'. + externalDocs: + url: https://www.ensembl.org/ + - type: string + description: An NCBI gene identifier. + externalDocs: + url: https://www.ncbi.nlm.nih.gov/gene + - type: string + description: An official gene symbol approved by HGNC. + externalDocs: + url: https://www.genenames.org/ + - name: query + in: query + schema: + $ref: '#/components/schemas/QueryArg' + - name: filter + in: query + schema: + $ref: '#/components/schemas/FilterArgExpressionExperiment' + - name: offset + in: query + schema: + minimum: 0 + type: integer + description: The offset of the first retrieved result. + format: int32 + default: 0 + - name: limit + in: query + schema: + maximum: 100 + minimum: 1 + type: integer + description: Limit the number of results retrieved. + format: int32 + default: 20 + - name: keepNonSpecific + in: query + schema: + type: boolean + default: false + - name: consolidate + in: query + schema: + type: string + description: An option for gene expression level consolidation. + enum: + - pickmax + - pickvar + - average + responses: + default: + description: default response + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedResponseDataObjectExperimentExpressionLevelsValueObject' + /datasets/{datasets}/expressions/genes/{genes}: + get: + summary: Retrieve the expression data matrix of a set of datasets and genes + operationId: getDatasetsExpressionLevelsForGenes + parameters: + - name: datasets + in: path + required: true + schema: + minItems: 1 + type: array + description: A comma-delimited list of dataset IDs or short names. The value + may be compressed with gzip and encoded with base64. + items: + oneOf: + - type: integer + description: A numerical dataset identifier. + format: int64 + - type: string + description: A dataset short name. + - name: genes + in: path + required: true + schema: + minItems: 1 + type: array + description: "A comma-delimited list of NCBI IDs, Ensembl IDs or gene symbols.\ + \ The value may be compressed with gzip and encoded with base64." + items: + oneOf: + - type: string + description: An Ensembl gene identifier which typically starts with + 'ENSG'. + externalDocs: + url: https://www.ensembl.org/ + - type: string + description: An NCBI gene identifier. + externalDocs: + url: https://www.ncbi.nlm.nih.gov/gene + - type: string + description: An official gene symbol approved by HGNC. + externalDocs: + url: https://www.genenames.org/ + - name: keepNonSpecific + in: query + schema: + type: boolean + default: false + - name: consolidate + in: query + schema: + type: string + description: An option for gene expression level consolidation. + enum: + - pickmax + - pickvar + - average + responses: + default: + description: default response + content: + application/json: + schema: + $ref: '#/components/schemas/ResponseDataObjectListExperimentExpressionLevelsValueObject' + /datasets/{datasets}/expressions/taxa/{taxon}/genes/{genes}: + get: + summary: Retrieve the expression data matrix of a set of datasets and genes + operationId: getDatasetsExpressionLevelsForGenesInTaxon + parameters: + - name: datasets + in: path + required: true + schema: + minItems: 1 + type: array + description: A comma-delimited list of dataset IDs or short names. The value + may be compressed with gzip and encoded with base64. + items: + oneOf: + - type: integer + description: A numerical dataset identifier. + format: int64 + - type: string + description: A dataset short name. + - name: taxon + in: path + required: true + schema: + oneOf: + - type: integer + description: A numerical taxon identifier. + format: int64 + - type: integer + description: An NCBI taxon identifier. + format: int64 + externalDocs: + url: https://www.ncbi.nlm.nih.gov/taxonomy + - type: string + description: A taxon identifier that matches either its scientific or + common name. + - name: genes + in: path + required: true + schema: + minItems: 1 + type: array + description: "A comma-delimited list of NCBI IDs, Ensembl IDs or gene symbols.\ + \ The value may be compressed with gzip and encoded with base64." + items: + oneOf: + - type: string + description: An Ensembl gene identifier which typically starts with + 'ENSG'. + externalDocs: + url: https://www.ensembl.org/ + - type: string + description: An NCBI gene identifier. + externalDocs: + url: https://www.ncbi.nlm.nih.gov/gene + - type: string + description: An official gene symbol approved by HGNC. + externalDocs: + url: https://www.genenames.org/ + - name: keepNonSpecific + in: query + schema: + type: boolean + default: false + - name: consolidate + in: query + schema: + type: string + description: An option for gene expression level consolidation. + enum: + - pickmax + - pickvar + - average + responses: + default: + description: default response + content: + application/json: + schema: + $ref: '#/components/schemas/ResponseDataObjectListExperimentExpressionLevelsValueObject' + /datasets/{datasets}/expressions/pca: + get: + summary: Retrieve the principal components (PCA) of a set of datasets + operationId: getDatasetsExpressionPca + parameters: + - name: datasets + in: path + required: true + schema: + minItems: 1 + type: array + description: A comma-delimited list of dataset IDs or short names. The value + may be compressed with gzip and encoded with base64. + items: + oneOf: + - type: integer + description: A numerical dataset identifier. + format: int64 + - type: string + description: A dataset short name. + - name: component + in: query + schema: + type: integer + format: int32 + default: 1 + - name: limit + in: query + schema: + maximum: 100 + minimum: 1 + type: integer + description: Limit the number of results retrieved. + format: int32 + default: 100 + - name: keepNonSpecific + in: query + schema: + type: boolean + default: false + - name: consolidate + in: query + schema: + type: string + description: An option for gene expression level consolidation. + enum: + - pickmax + - pickvar + - average + responses: + default: + description: default response + content: + application/json: + schema: + $ref: '#/components/schemas/ResponseDataObjectListExperimentExpressionLevelsValueObject' /datasets/platforms: get: summary: Retrieve usage statistics of platforms among datasets matching the @@ -1518,7 +1980,10 @@ paths: in: path required: true schema: + minItems: 1 type: array + description: "A comma-delimited list of NCBI IDs, Ensembl IDs or gene symbols.\ + \ The value may be compressed with gzip and encoded with base64." items: oneOf: - type: string @@ -1666,7 +2131,10 @@ paths: in: path required: true schema: + minItems: 1 type: array + description: A comma-delimited list of element IDs or names. The value may + be compressed with gzip and encoded with base64. items: oneOf: - type: integer @@ -1832,7 +2300,10 @@ paths: in: path required: true schema: + minItems: 1 type: array + description: A comma-delimited list of platform IDs or short names. The + value may be compressed with gzip and encoded with base64. items: oneOf: - type: integer @@ -1926,16 +2397,16 @@ paths: items: type: string enum: + - ubic.gemma.model.blacklist.BlacklistedEntity - ubic.gemma.model.expression.arrayDesign.ArrayDesign - - ubic.gemma.model.analysis.expression.ExpressionExperimentSet + - ubic.gemma.model.genome.Gene + - ubic.gemma.model.expression.designElement.CompositeSequence - ubic.gemma.model.genome.gene.GeneSet - - ubic.gemma.model.association.phenotype.PhenotypeAssociation - ubic.gemma.model.common.description.BibliographicReference - - ubic.gemma.model.expression.experiment.ExpressionExperiment - - ubic.gemma.model.expression.BlacklistedEntity - - ubic.gemma.model.genome.Gene - ubic.gemma.model.genome.biosequence.BioSequence - - ubic.gemma.model.expression.designElement.CompositeSequence + - ubic.gemma.model.expression.experiment.ExpressionExperiment + - ubic.gemma.model.analysis.expression.ExpressionExperimentSet + - ubic.gemma.model.association.phenotype.PhenotypeAssociation - name: limit in: query description: Maximum number of search results to return; capped at 2000 unless @@ -1997,7 +2468,10 @@ paths: in: path required: true schema: + minItems: 1 type: array + description: "A comma-delimited list of taxon IDs, NCBI IDs, common names\ + \ or scientific names." items: oneOf: - type: integer @@ -2294,7 +2768,10 @@ paths: in: path required: true schema: + minItems: 1 type: array + description: "A comma-delimited list of NCBI IDs, Ensembl IDs or gene symbols.\ + \ The value may be compressed with gzip and encoded with base64." items: oneOf: - type: string @@ -2870,23 +3347,23 @@ components: id: type: integer format: int64 - category: - type: string - categoryUri: + name: type: string description: type: string - factorValues: - type: string - description: "This is deprecated, use `values` directly instead." - deprecated: true - name: - type: string type: type: string enum: - categorical - continuous + category: + type: string + categoryUri: + type: string + factorValues: + type: string + description: "This is deprecated, use `values` directly instead." + deprecated: true values: type: array items: @@ -3129,6 +3606,16 @@ components: format: int32 externalDatabase: $ref: '#/components/schemas/ExternalDatabaseValueObject' + BuildInfoValueObject: + type: object + properties: + version: + type: string + timestamp: + type: string + format: date-time + gitHash: + type: string ResponseErrorObject: type: object properties: @@ -3136,6 +3623,8 @@ components: $ref: '#/components/schemas/WellComposedErrorBody' apiVersion: type: string + buildInfo: + $ref: '#/components/schemas/BuildInfoValueObject' WellComposedErrorBody: type: object properties: @@ -5351,45 +5840,6 @@ components: type: array items: $ref: '#/components/schemas/AnnotationValueObject' - ExperimentExpressionLevelsValueObject: - type: object - properties: - datasetId: - type: integer - format: int64 - geneExpressionLevels: - type: array - items: - $ref: '#/components/schemas/GeneElementExpressionsValueObject' - GeneElementExpressionsValueObject: - type: object - properties: - geneOfficialSymbol: - type: string - geneNcbiId: - type: integer - format: int32 - vectors: - type: array - items: - $ref: '#/components/schemas/VectorElementValueObject' - ResponseDataObjectListExperimentExpressionLevelsValueObject: - type: object - properties: - data: - type: array - items: - $ref: '#/components/schemas/ExperimentExpressionLevelsValueObject' - VectorElementValueObject: - type: object - properties: - designElementName: - type: string - bioAssayExpressionLevels: - type: object - additionalProperties: - type: number - format: double ResponseDataObjectListDifferentialExpressionAnalysisValueObject: type: object properties: @@ -5397,20 +5847,6 @@ components: type: array items: $ref: '#/components/schemas/DifferentialExpressionAnalysisValueObject' - GeneArg: - oneOf: - - type: string - description: An Ensembl gene identifier which typically starts with 'ENSG'. - externalDocs: - url: https://www.ensembl.org/ - - type: string - description: An NCBI gene identifier. - externalDocs: - url: https://www.ncbi.nlm.nih.gov/gene - - type: string - description: An official gene symbol approved by HGNC. - externalDocs: - url: https://www.genenames.org/ ArrayDesignValueObject: type: object properties: @@ -5473,10 +5909,10 @@ components: type: array items: $ref: '#/components/schemas/DatabaseEntryValueObject' - numberOfExpressionExperiments: + taxonID: type: integer format: int64 - taxonID: + numberOfExpressionExperiments: type: integer format: int64 troubleDetails: @@ -6295,6 +6731,152 @@ components: type: array items: $ref: '#/components/schemas/CharacteristicValueObject' + ExperimentExpressionLevelsValueObject: + type: object + properties: + datasetId: + type: integer + format: int64 + geneExpressionLevels: + type: array + items: + $ref: '#/components/schemas/GeneElementExpressionsValueObject' + GeneElementExpressionsValueObject: + type: object + properties: + geneOfficialSymbol: + type: string + geneNcbiId: + type: integer + format: int32 + vectors: + type: array + items: + $ref: '#/components/schemas/VectorElementValueObject' + ResponseDataObjectListExperimentExpressionLevelsValueObject: + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/ExperimentExpressionLevelsValueObject' + VectorElementValueObject: + type: object + properties: + designElementName: + type: string + bioAssayExpressionLevels: + type: object + additionalProperties: + type: number + format: double + DifferentialExpressionAnalysisResultByGeneValueObject: + type: object + properties: + id: + type: integer + format: int64 + probeId: + type: integer + format: int64 + probeName: + type: string + genes: + type: array + items: + $ref: '#/components/schemas/GeneValueObject' + correctedPvalue: + type: number + format: double + rank: + type: number + format: double + contrasts: + type: array + items: + $ref: '#/components/schemas/ContrastResultValueObject' + sourceExperimentId: + type: integer + format: int64 + experimentAnalyzedId: + type: integer + format: int64 + resultSetId: + type: integer + format: int64 + baseline: + $ref: '#/components/schemas/FactorValueBasicValueObject' + secondBaseline: + $ref: '#/components/schemas/FactorValueBasicValueObject' + pvalue: + type: number + format: double + QueriedAndFilteredAndInferredAndPaginatedResponseDataObjectDifferentialExpressionAnalysisResultByGeneValueObject: + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/DifferentialExpressionAnalysisResultByGeneValueObject' + groupBy: + type: array + items: + type: string + sort: + $ref: '#/components/schemas/SortValueObject' + offset: + type: integer + format: int32 + limit: + type: integer + format: int32 + totalElements: + type: integer + format: int64 + filter: + type: string + query: + type: string + inferredTerms: + type: array + items: + $ref: '#/components/schemas/CharacteristicValueObject' + GeneArg: + oneOf: + - type: string + description: An Ensembl gene identifier which typically starts with 'ENSG'. + externalDocs: + url: https://www.ensembl.org/ + - type: string + description: An NCBI gene identifier. + externalDocs: + url: https://www.ncbi.nlm.nih.gov/gene + - type: string + description: An official gene symbol approved by HGNC. + externalDocs: + url: https://www.genenames.org/ + PaginatedResponseDataObjectExperimentExpressionLevelsValueObject: + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/ExperimentExpressionLevelsValueObject' + groupBy: + type: array + items: + type: string + sort: + $ref: '#/components/schemas/SortValueObject' + offset: + type: integer + format: int32 + limit: + type: integer + format: int32 + totalElements: + type: integer + format: int64 ArrayDesignWithUsageStatisticsValueObject: type: object properties: @@ -7681,13 +8263,21 @@ components: type: string version: type: string - docs: + documentationUrl: + type: string + format: uri + specificationUrl: type: string format: uri externalDatabases: type: array items: $ref: '#/components/schemas/ExternalDatabaseValueObject' + buildInfo: + $ref: '#/components/schemas/BuildInfoValueObject' + docs: + type: string + format: uri ResponseDataObjectApiInfoValueObject: type: object properties: @@ -7750,16 +8340,16 @@ components: items: type: string enum: + - ubic.gemma.model.blacklist.BlacklistedEntity - ubic.gemma.model.expression.arrayDesign.ArrayDesign - - ubic.gemma.model.analysis.expression.ExpressionExperimentSet + - ubic.gemma.model.genome.Gene + - ubic.gemma.model.expression.designElement.CompositeSequence - ubic.gemma.model.genome.gene.GeneSet - - ubic.gemma.model.association.phenotype.PhenotypeAssociation - ubic.gemma.model.common.description.BibliographicReference - - ubic.gemma.model.expression.experiment.ExpressionExperiment - - ubic.gemma.model.expression.BlacklistedEntity - - ubic.gemma.model.genome.Gene - ubic.gemma.model.genome.biosequence.BioSequence - - ubic.gemma.model.expression.designElement.CompositeSequence + - ubic.gemma.model.expression.experiment.ExpressionExperiment + - ubic.gemma.model.analysis.expression.ExpressionExperimentSet + - ubic.gemma.model.association.phenotype.PhenotypeAssociation ResponseDataObjectListTaxonValueObject: type: object properties: diff --git a/setup.cfg b/setup.cfg index 17bc5ea..f4f5f5f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = gemmapy -version = 1.0.3 +version = 1.0.4 description = a Python Wrapper for the Gemma API long_description = file: README.rst keywords = gemma, bioinformatics