diff --git a/.swagger-codegen/VERSION b/.swagger-codegen/VERSION index 752a79ef362d2555ab0957f30657c0d6616b6cb5..9c846566f75616c7b35868e1fe4f8d9e25e634c9 100644 --- a/.swagger-codegen/VERSION +++ b/.swagger-codegen/VERSION @@ -1 +1 @@ -2.4.8 \ No newline at end of file +2.4.13 \ No newline at end of file diff --git a/access_node/controllers/arbor_controller.py b/access_node/controllers/arbor_controller.py index 5ce7f7706e8d94b57be933da8153fd8dea1ec1bd..8fcc75f8f2ee52471aca19572c8dc1a0aac43515 100644 --- a/access_node/controllers/arbor_controller.py +++ b/access_node/controllers/arbor_controller.py @@ -26,7 +26,7 @@ def connect_to_database(): def arbor_get_attributes(): # noqa: E501 - """Retrieves the list of all attributes. + """Retrieves a list of all attributes. # noqa: E501 @@ -44,7 +44,7 @@ def arbor_get_attributes(): # noqa: E501 def arbor_get_cell_ids(): # noqa: E501 - """Retrieves the list of all cell ids. + """Retrieves a list of all cell ids. # noqa: E501 @@ -98,7 +98,7 @@ def arbor_get_measurements(attribute, probe_ids=None, _from=None, to=None, offse # noqa: E501 - :param attribute: The attribute to query (e.g., 'V_m' for the membrane potential) + :param attribute: The attribute to query :type attribute: str :param probe_ids: A list of probes ids queried for data. :type probe_ids: List[int] @@ -108,7 +108,7 @@ def arbor_get_measurements(attribute, probe_ids=None, _from=None, to=None, offse :type to: float :param offset: The offset into the result. :type offset: int - :param limit: The maximum of entries to be result. + :param limit: The maximum of entries to be returned. :type limit: int :rtype: ArborMeasurement @@ -151,7 +151,7 @@ def arbor_get_measurements(attribute, probe_ids=None, _from=None, to=None, offse def arbor_get_probes(attribute=None): # noqa: E501 - """Retrieves the list of all probes for a given attribute (optional). + """Retrieves a list of all probes for a given attribute (optional). # noqa: E501 @@ -187,7 +187,7 @@ def arbor_get_probes(attribute=None): # noqa: E501 def arbor_get_simulation_time_info(): # noqa: E501 - """Retrieves simulation time information. + """Retrieves simulation time information(begin, current, end). # noqa: E501 diff --git a/access_node/controllers/nest_controller.py b/access_node/controllers/nest_controller.py index e4d52ca51689e3d66b4554d6323bdecc2e02fd15..518064b4bb825d7e148f8422b4f9e344f54b59ee 100644 --- a/access_node/controllers/nest_controller.py +++ b/access_node/controllers/nest_controller.py @@ -26,7 +26,7 @@ def connect_to_database(): def nest_get_gids(): # noqa: E501 - """Retrieves the list of all GID. + """Retrieves a list of all gids. # noqa: E501 @@ -44,7 +44,7 @@ def nest_get_gids(): # noqa: E501 def nest_get_gids_in_population(population_id): # noqa: E501 - """Retrieves the list of all neuron IDs within the population. + """Retrieves the list of all neuron ids within the population. # noqa: E501 @@ -65,7 +65,7 @@ def nest_get_gids_in_population(population_id): # noqa: E501 def nest_get_multimeter_info(): # noqa: E501 """Retreives the available multimeters and their properties. - + # noqa: E501 @@ -96,19 +96,19 @@ def nest_get_multimeter_info(): # noqa: E501 def nest_get_multimeter_measurements(multimeter_id, attribute, _from=None, to=None, gids=None, offset=None, limit=None): # noqa: E501 - """Retrieves the measurements for a multimeter, attribute and GIDS (optional). + """Retrieves the measurements for a multimeter, attribute and gids (optional). # noqa: E501 :param multimeter_id: The multimeter to query - :type multimeter_id: + :type multimeter_id: int :param attribute: The attribute to query (e.g., 'V_m' for the membrane potential) :type attribute: str :param _from: The start time (including) to be queried. :type _from: float :param to: The end time (excluding) to be queried. :type to: float - :param gids: A list of GIDs queried for spike data. + :param gids: A list of gids queried for spike data. :type gids: List[int] :param offset: The offset into the result. :type offset: int @@ -174,7 +174,7 @@ def nest_get_neuron_properties(gids=None): # noqa: E501 # noqa: E501 - :param gids: A list of GIDs queried for properties. + :param gids: A list of gids queried for properties. :type gids: List[int] :rtype: List[NestNeuronProperties] @@ -208,7 +208,7 @@ def nest_get_neuron_properties(gids=None): # noqa: E501 def nest_get_populations(): # noqa: E501 - """Retrieves the list of all population IDs. + """Retrieves a list of all population IDs. # noqa: E501 @@ -226,7 +226,7 @@ def nest_get_populations(): # noqa: E501 def nest_get_simulation_time_info(): # noqa: E501 - """Retrieves simulation time information. + """Retrieves simulation time information (begin, current, end). # noqa: E501 @@ -247,7 +247,7 @@ def nest_get_simulation_time_info(): # noqa: E501 def nest_get_spikes(_from=None, to=None, gids=None, offset=None, limit=None): # noqa: E501 - """Retrieves the spikes for the given simulation steps (optional) and GIDS (optional). + """Retrieves the spikes for the given simulation steps (optional) and gids (optional). # noqa: E501 @@ -255,11 +255,11 @@ def nest_get_spikes(_from=None, to=None, gids=None, offset=None, limit=None): # :type _from: float :param to: The end time (excluding) to be queried. :type to: float - :param gids: A list of GIDs queried for spike data. + :param gids: A list of gids queried for spike data. :type gids: List[int] :param offset: The offset into the result. :type offset: int - :param limit: The maximum of entries to be result. + :param limit: The maximum of entries to be returned. :type limit: int :rtype: Spikes @@ -302,7 +302,7 @@ def nest_get_spikes_by_population(population_id, _from=None, to=None, offset=Non :type to: float :param offset: The offset into the result. :type offset: int - :param limit: The maximum of entries to be result. + :param limit: The maximum of entries to be returned. :type limit: int :rtype: Spikes diff --git a/access_node/models/multimeter_info.py b/access_node/models/multimeter_info.py index d66278e6d45a5dd9b862265eda003b7e951ceb61..9d1b38921456e3369552e4133fa40995f1de2cc7 100644 --- a/access_node/models/multimeter_info.py +++ b/access_node/models/multimeter_info.py @@ -6,7 +6,6 @@ from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from access_node.models.base_model_ import Model -from access_node.models.multimeter_info_inner import MultimeterInfoInner # noqa: F401,E501 from access_node import util diff --git a/access_node/models/multimeter_measurement.py b/access_node/models/multimeter_measurement.py index aa8bbb50b73f6710c728bf5f0f0f1f825bc83796..7c5b77bfaf18d042427abb033e03c2893209fb84 100644 --- a/access_node/models/multimeter_measurement.py +++ b/access_node/models/multimeter_measurement.py @@ -100,7 +100,7 @@ class MultimeterMeasurement(Model): def values(self) -> List[float]: """Gets the values of this MultimeterMeasurement. - This array contains the measured values for each probe and time to get the value for probe n at time t you have to use the index n * length(simulation_times) + t # noqa: E501 + This array contains the measured values for each gid and time to get the value for gid n at time t you have to use the index n * length(simulation_times) + t # noqa: E501 :return: The values of this MultimeterMeasurement. :rtype: List[float] @@ -111,7 +111,7 @@ class MultimeterMeasurement(Model): def values(self, values: List[float]): """Sets the values of this MultimeterMeasurement. - This array contains the measured values for each probe and time to get the value for probe n at time t you have to use the index n * length(simulation_times) + t # noqa: E501 + This array contains the measured values for each gid and time to get the value for gid n at time t you have to use the index n * length(simulation_times) + t # noqa: E501 :param values: The values of this MultimeterMeasurement. :type values: List[float] diff --git a/access_node/swagger/swagger.yaml b/access_node/swagger/swagger.yaml index 0f270e35020b988af9185812794dd9a0e7bbec68..a7e0d939d520a7f6390fbfe572f782a279fbf376 100644 --- a/access_node/swagger/swagger.yaml +++ b/access_node/swagger/swagger.yaml @@ -63,11 +63,11 @@ paths: type: "integer" format: "uint64" responses: - 200: + "200": description: "Operation successful." schema: $ref: "#/definitions/Spikes" - 400: + "400": description: "Operation failed." schema: type: "string" @@ -83,7 +83,7 @@ paths: - "application/json" parameters: [] responses: - 200: + "200": description: "Operation successful." schema: type: "array" @@ -93,7 +93,7 @@ paths: example: - 1 - 2 - 400: + "400": description: "Operation failed." schema: type: "string" @@ -114,13 +114,13 @@ paths: required: false type: "string" responses: - 200: + "200": description: "Operation successful." schema: type: "array" items: $ref: "#/definitions/Probe" - 400: + "400": description: "Operation failed." schema: type: "string" @@ -136,7 +136,7 @@ paths: - "application/json" parameters: [] responses: - 200: + "200": description: "Operation successful." schema: type: "array" @@ -145,7 +145,7 @@ paths: example: - "Voltage" - "Current" - 400: + "400": description: "Operation failed." schema: type: "string" @@ -200,11 +200,11 @@ paths: type: "integer" format: "uint64" responses: - 200: + "200": description: "Operation successful." schema: $ref: "#/definitions/ArborMeasurement" - 400: + "400": description: "Operation failed." schema: type: "string" @@ -220,11 +220,11 @@ paths: - "application/json" parameters: [] responses: - 200: + "200": description: "Operation successful." schema: $ref: "#/definitions/SimulationTimeInfo" - 400: + "400": description: "Operation failed." schema: type: "string" @@ -248,13 +248,13 @@ paths: type: "integer" format: "uint64" responses: - 200: + "200": description: "Operation successful." schema: type: "array" items: $ref: "#/definitions/ArborCellProperties" - 400: + "400": description: "Operation failed." schema: type: "string" @@ -270,11 +270,11 @@ paths: - "application/json" parameters: [] responses: - 200: + "200": description: "Operation successful." schema: $ref: "#/definitions/SimulationTimeInfo" - 400: + "400": description: "Operation failed." schema: type: "string" @@ -290,7 +290,7 @@ paths: - "application/json" parameters: [] responses: - 200: + "200": description: "Operation successful." schema: type: "array" @@ -302,7 +302,7 @@ paths: - 2 - 3 - 15 - 400: + "400": description: "Operation failed." schema: type: "string" @@ -326,13 +326,13 @@ paths: type: "integer" format: "uint64" responses: - 200: + "200": description: "Operation successful." schema: type: "array" items: $ref: "#/definitions/NestNeuronProperties" - 400: + "400": description: "Operation failed." schema: type: "string" @@ -348,7 +348,7 @@ paths: - "application/json" parameters: [] responses: - 200: + "200": description: "Operation successful." schema: type: "array" @@ -359,7 +359,7 @@ paths: - 1 - 2 - 3 - 400: + "400": description: "Operation failed." schema: type: "string" @@ -410,11 +410,11 @@ paths: type: "integer" format: "uint64" responses: - 200: + "200": description: "Operation successful." schema: $ref: "#/definitions/Spikes" - 400: + "400": description: "Operation failed." schema: type: "string" @@ -463,11 +463,11 @@ paths: type: "integer" format: "uint64" responses: - 200: + "200": description: "Operation successful." schema: $ref: "#/definitions/Spikes" - 400: + "400": description: "Operation failed." schema: type: "string" @@ -485,11 +485,11 @@ paths: - "application/json" parameters: [] responses: - 200: + "200": description: "Operation successful." schema: $ref: "#/definitions/MultimeterInfo" - 400: + "400": description: "Operation failed." schema: type: "string" @@ -550,11 +550,11 @@ paths: type: "integer" format: "uint64" responses: - 200: + "200": description: "Operation successful." schema: $ref: "#/definitions/MultimeterMeasurement" - 400: + "400": description: "Operation failed." schema: type: "string" @@ -576,7 +576,7 @@ paths: type: "integer" format: "uint64" responses: - 200: + "200": description: "Operation successful." schema: type: "array" @@ -586,7 +586,7 @@ paths: example: - 1 - 2 - 400: + "400": description: "Operation failed." schema: type: "string"