Skip to content

Commit eeaea4e

Browse files
Merge pull request #1550 from virtualcell/vcinfo-container-resource
VCInfo Container is Retrieved from the New API
2 parents 456eeea + 2b5e5e4 commit eeaea4e

48 files changed

Lines changed: 3387 additions & 613 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

python-restclient/.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ docs/VCSimulationIdentifier.md
9292
docs/VCellHTTPError.md
9393
docs/VCellSite.md
9494
docs/VCellSoftwareVersion.md
95+
docs/VCellSummaryContainer.md
9596
docs/VariableDomain.md
9697
docs/VariableMode.md
9798
docs/VariableSpecs.md
@@ -195,6 +196,7 @@ vcell_client/models/user_registration_info.py
195196
vcell_client/models/v_cell_http_error.py
196197
vcell_client/models/v_cell_site.py
197198
vcell_client/models/v_cell_software_version.py
199+
vcell_client/models/v_cell_summary_container.py
198200
vcell_client/models/variable_domain.py
199201
vcell_client/models/variable_mode.py
200202
vcell_client/models/variable_specs.py

python-restclient/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ Class | Method | HTTP request | Description
9595
*BioModelResourceApi* | [**get_bio_model_summaries**](docs/BioModelResourceApi.md#get_bio_model_summaries) | **GET** /api/v1/bioModel/summaries | Return BioModel summaries.
9696
*BioModelResourceApi* | [**get_bio_model_summary**](docs/BioModelResourceApi.md#get_bio_model_summary) | **GET** /api/v1/bioModel/{bioModelID}/summary | All of the text based information about a BioModel (summary, version, publication status, etc...), but not the actual BioModel itself.
9797
*BioModelResourceApi* | [**get_bio_model_vcml**](docs/BioModelResourceApi.md#get_bio_model_vcml) | **GET** /api/v1/bioModel/{bioModelID}/vcml_download | Get the BioModel in VCML format.
98+
*BioModelResourceApi* | [**get_summaries_container**](docs/BioModelResourceApi.md#get_summaries_container) | **GET** /api/v1/bioModel/summariesContainer |
9899
*BioModelResourceApi* | [**save_bio_model**](docs/BioModelResourceApi.md#save_bio_model) | **POST** /api/v1/bioModel | Save's the given BioModel. Optional parameters of name and simulations to update due to math changes. Returns saved BioModel as VCML.
99100
*ExportResourceApi* | [**export_n5**](docs/ExportResourceApi.md#export_n5) | **POST** /api/v1/export/N5 |
100101
*ExportResourceApi* | [**export_status**](docs/ExportResourceApi.md#export_status) | **GET** /api/v1/export/status |
@@ -226,6 +227,7 @@ Class | Method | HTTP request | Description
226227
- [VCellHTTPError](docs/VCellHTTPError.md)
227228
- [VCellSite](docs/VCellSite.md)
228229
- [VCellSoftwareVersion](docs/VCellSoftwareVersion.md)
230+
- [VCellSummaryContainer](docs/VCellSummaryContainer.md)
229231
- [VariableDomain](docs/VariableDomain.md)
230232
- [VariableMode](docs/VariableMode.md)
231233
- [VariableSpecs](docs/VariableSpecs.md)

python-restclient/docs/BioModelChildSummary.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**sc_names** | **List[str]** | | [optional]
8-
**sc_annots** | **List[str]** | | [optional]
9-
**geo_names** | **List[str]** | | [optional]
10-
**geo_dims** | **List[int]** | | [optional]
117
**app_types** | [**List[MathType]**](MathType.md) | | [optional]
12-
**sim_names** | **List[List[str]]** | | [optional]
13-
**sim_annots** | **List[List[str]]** | | [optional]
148
**geometry_dimensions** | **List[int]** | | [optional]
159
**geometry_names** | **List[str]** | | [optional]
1610
**simulation_context_annotations** | **List[str]** | | [optional]
1711
**simulation_context_names** | **List[str]** | | [optional]
12+
**all_simulation_names** | **List[List[str]]** | | [optional]
13+
**all_simulation_annots** | **List[List[str]]** | | [optional]
1814
**application_info** | [**List[ApplicationInfo]**](ApplicationInfo.md) | | [optional]
1915

2016
## Example

python-restclient/docs/BioModelResourceApi.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Method | HTTP request | Description
99
[**get_bio_model_summaries**](BioModelResourceApi.md#get_bio_model_summaries) | **GET** /api/v1/bioModel/summaries | Return BioModel summaries.
1010
[**get_bio_model_summary**](BioModelResourceApi.md#get_bio_model_summary) | **GET** /api/v1/bioModel/{bioModelID}/summary | All of the text based information about a BioModel (summary, version, publication status, etc...), but not the actual BioModel itself.
1111
[**get_bio_model_vcml**](BioModelResourceApi.md#get_bio_model_vcml) | **GET** /api/v1/bioModel/{bioModelID}/vcml_download | Get the BioModel in VCML format.
12+
[**get_summaries_container**](BioModelResourceApi.md#get_summaries_container) | **GET** /api/v1/bioModel/summariesContainer |
1213
[**save_bio_model**](BioModelResourceApi.md#save_bio_model) | **POST** /api/v1/bioModel | Save's the given BioModel. Optional parameters of name and simulations to update due to math changes. Returns saved BioModel as VCML.
1314

1415

@@ -345,6 +346,69 @@ No authorization required
345346

346347
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
347348

349+
# **get_summaries_container**
350+
> VCellSummaryContainer get_summaries_container()
351+
352+
353+
354+
All of the summary objects for this particular user.
355+
356+
### Example
357+
358+
```python
359+
import time
360+
import os
361+
import vcell_client
362+
from vcell_client.models.v_cell_summary_container import VCellSummaryContainer
363+
from vcell_client.rest import ApiException
364+
from pprint import pprint
365+
366+
# Defining the host is optional and defaults to https://vcell.cam.uchc.edu
367+
# See configuration.py for a list of all supported configuration parameters.
368+
configuration = vcell_client.Configuration(
369+
host = "https://vcell.cam.uchc.edu"
370+
)
371+
372+
373+
# Enter a context with an instance of the API client
374+
with vcell_client.ApiClient(configuration) as api_client:
375+
# Create an instance of the API class
376+
api_instance = vcell_client.BioModelResourceApi(api_client)
377+
378+
try:
379+
api_response = api_instance.get_summaries_container()
380+
print("The response of BioModelResourceApi->get_summaries_container:\n")
381+
pprint(api_response)
382+
except Exception as e:
383+
print("Exception when calling BioModelResourceApi->get_summaries_container: %s\n" % e)
384+
```
385+
386+
387+
388+
### Parameters
389+
This endpoint does not need any parameter.
390+
391+
### Return type
392+
393+
[**VCellSummaryContainer**](VCellSummaryContainer.md)
394+
395+
### Authorization
396+
397+
No authorization required
398+
399+
### HTTP request headers
400+
401+
- **Content-Type**: Not defined
402+
- **Accept**: application/json
403+
404+
### HTTP response details
405+
| Status code | Description | Response headers |
406+
|-------------|-------------|------------------|
407+
**200** | OK | - |
408+
**500** | Data Access Exception | - |
409+
410+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
411+
348412
# **save_bio_model**
349413
> str save_bio_model(body, new_name=new_name, sims_requiring_updates=sims_requiring_updates)
350414
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# VCellInfoContainer
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**image_infos** | [**List[VCImageSummary]**](VCImageSummary.md) | | [optional]
8+
**geometry_info** | [**List[GeometrySummary]**](GeometrySummary.md) | | [optional]
9+
**math_model_infos** | [**List[MathModelSummary]**](MathModelSummary.md) | | [optional]
10+
**bio_model_infos** | [**List[BioModelSummary]**](BioModelSummary.md) | | [optional]
11+
12+
## Example
13+
14+
```python
15+
from vcell_client.models.v_cell_info_container import VCellInfoContainer
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of VCellInfoContainer from a JSON string
20+
v_cell_info_container_instance = VCellInfoContainer.from_json(json)
21+
# print the JSON string representation of the object
22+
print VCellInfoContainer.to_json()
23+
24+
# convert the object into a dict
25+
v_cell_info_container_dict = v_cell_info_container_instance.to_dict()
26+
# create an instance of VCellInfoContainer from a dict
27+
v_cell_info_container_form_dict = v_cell_info_container.from_dict(v_cell_info_container_dict)
28+
```
29+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30+
31+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# VCellSummaryContainer
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**image_summaries** | [**List[VCImageSummary]**](VCImageSummary.md) | | [optional]
8+
**geometry_summaries** | [**List[GeometrySummary]**](GeometrySummary.md) | | [optional]
9+
**math_model_summaries** | [**List[MathModelSummary]**](MathModelSummary.md) | | [optional]
10+
**bio_model_summaries** | [**List[BioModelSummary]**](BioModelSummary.md) | | [optional]
11+
12+
## Example
13+
14+
```python
15+
from vcell_client.models.v_cell_summary_container import VCellSummaryContainer
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of VCellSummaryContainer from a JSON string
20+
v_cell_summary_container_instance = VCellSummaryContainer.from_json(json)
21+
# print the JSON string representation of the object
22+
print VCellSummaryContainer.to_json()
23+
24+
# convert the object into a dict
25+
v_cell_summary_container_dict = v_cell_summary_container_instance.to_dict()
26+
# create an instance of VCellSummaryContainer from a dict
27+
v_cell_summary_container_form_dict = v_cell_summary_container.from_dict(v_cell_summary_container_dict)
28+
```
29+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30+
31+

python-restclient/docs/VersionFlag.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**version_flag** | **int** | | [optional]
87
**int_value** | **int** | | [optional]
98
**archived** | **bool** | | [optional]
109
**current** | **bool** | | [optional]

0 commit comments

Comments
 (0)