Skip to content

Commit e0d2ffa

Browse files
Merge pull request #1463 from virtualcell/finish-field-data-endpoints
Copy Field Data From BioModel
2 parents 8099f2b + ef1c9ce commit e0d2ffa

96 files changed

Lines changed: 3983 additions & 1716 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: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
README.md
44
docs/AccesTokenRepresentationRecord.md
55
docs/AdminResourceApi.md
6-
docs/AnalyzedResultsFromFieldData.md
6+
docs/AnalyzedFile.md
77
docs/BatchSystemType.md
88
docs/BioModel.md
99
docs/BioModelResourceApi.md
@@ -15,7 +15,7 @@ docs/Extent.md
1515
docs/ExternalDataIdentifier.md
1616
docs/FieldDataReference.md
1717
docs/FieldDataResourceApi.md
18-
docs/FieldDataSaveResults.md
18+
docs/FieldDataSavedResults.md
1919
docs/FieldDataShape.md
2020
docs/HelloWorldApi.md
2121
docs/HelloWorldMessage.md
@@ -24,6 +24,7 @@ docs/ISize.md
2424
docs/Identity.md
2525
docs/KeyValue.md
2626
docs/MathmodelRef.md
27+
docs/ModelType.md
2728
docs/Origin.md
2829
docs/Publication.md
2930
docs/PublicationResourceApi.md
@@ -36,6 +37,7 @@ docs/SimulationQueueID.md
3637
docs/SimulationResourceApi.md
3738
docs/SimulationStatusPersistentRecord.md
3839
docs/SolverResourceApi.md
40+
docs/SourceModel.md
3941
docs/Status.md
4042
docs/StatusMessage.md
4143
docs/User.md
@@ -64,7 +66,7 @@ vcell_client/configuration.py
6466
vcell_client/exceptions.py
6567
vcell_client/models/__init__.py
6668
vcell_client/models/acces_token_representation_record.py
67-
vcell_client/models/analyzed_results_from_field_data.py
69+
vcell_client/models/analyzed_file.py
6870
vcell_client/models/batch_system_type.py
6971
vcell_client/models/bio_model.py
7072
vcell_client/models/biomodel_ref.py
@@ -74,14 +76,15 @@ vcell_client/models/domain.py
7476
vcell_client/models/extent.py
7577
vcell_client/models/external_data_identifier.py
7678
vcell_client/models/field_data_reference.py
77-
vcell_client/models/field_data_save_results.py
79+
vcell_client/models/field_data_saved_results.py
7880
vcell_client/models/field_data_shape.py
7981
vcell_client/models/hello_world_message.py
8082
vcell_client/models/htc_job_id.py
8183
vcell_client/models/i_size.py
8284
vcell_client/models/identity.py
8385
vcell_client/models/key_value.py
8486
vcell_client/models/mathmodel_ref.py
87+
vcell_client/models/model_type.py
8588
vcell_client/models/origin.py
8689
vcell_client/models/publication.py
8790
vcell_client/models/scheduler_status.py
@@ -91,6 +94,7 @@ vcell_client/models/simulation_message.py
9194
vcell_client/models/simulation_queue_entry_status_record.py
9295
vcell_client/models/simulation_queue_id.py
9396
vcell_client/models/simulation_status_persistent_record.py
97+
vcell_client/models/source_model.py
9498
vcell_client/models/status.py
9599
vcell_client/models/status_message.py
96100
vcell_client/models/user.py

python-restclient/README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,13 @@ Class | Method | HTTP request | Description
9393
*BioModelResourceApi* | [**delete_bio_model**](docs/BioModelResourceApi.md#delete_bio_model) | **DELETE** /api/v1/bioModel/{bioModelID} | Delete the BioModel from VCell's database.
9494
*BioModelResourceApi* | [**get_biomodel_by_id**](docs/BioModelResourceApi.md#get_biomodel_by_id) | **GET** /api/v1/bioModel/{bioModelID} | Get BioModel information in JSON format by ID.
9595
*BioModelResourceApi* | [**upload_bio_model**](docs/BioModelResourceApi.md#upload_bio_model) | **POST** /api/v1/bioModel/upload_bioModel | Upload the BioModel to VCell database. Returns BioModel ID.
96-
*FieldDataResourceApi* | [**analyze_field_data_file**](docs/FieldDataResourceApi.md#analyze_field_data_file) | **POST** /api/v1/fieldData/analyzeFieldDataFile | Analyze the field data from the uploaded file. Filenames must be lowercase alphanumeric, and can contain underscores.
97-
*FieldDataResourceApi* | [**create_field_data_from_analyzed_file**](docs/FieldDataResourceApi.md#create_field_data_from_analyzed_file) | **POST** /api/v1/fieldData/createFieldDataFromAnalyzedFile | Take the analyzed results of the field data, modify it to your liking, then save it on the server.
98-
*FieldDataResourceApi* | [**create_new_field_data_from_simulation**](docs/FieldDataResourceApi.md#create_new_field_data_from_simulation) | **POST** /api/v1/fieldData/createFieldDataFromSimulation | Create new field data from a simulation.
99-
*FieldDataResourceApi* | [**delete_field_data**](docs/FieldDataResourceApi.md#delete_field_data) | **DELETE** /api/v1/fieldData/delete/{fieldDataID} | Delete the selected field data.
100-
*FieldDataResourceApi* | [**get_all_field_data_ids**](docs/FieldDataResourceApi.md#get_all_field_data_ids) | **GET** /api/v1/fieldData/IDs | Get all of the ids used to identify, and retrieve field data.
101-
*FieldDataResourceApi* | [**get_field_data_shape_from_id**](docs/FieldDataResourceApi.md#get_field_data_shape_from_id) | **GET** /api/v1/fieldData/fieldDataShape/{fieldDataID} | Get the shape of the field data. That is it's size, origin, extent, and data identifiers.
96+
*FieldDataResourceApi* | [**analyze_file**](docs/FieldDataResourceApi.md#analyze_file) | **POST** /api/v1/fieldData/analyzeFile | Analyze uploaded image file (Tiff, Zip, and Non-GPL BioFormats) and create default field data specification. Color mapped images not supported (the colors in those images will be interpreted as separate channels). Filenames must be lowercase alphanumeric, and can contain underscores.
97+
*FieldDataResourceApi* | [**copy_models_field_data**](docs/FieldDataResourceApi.md#copy_models_field_data) | **POST** /api/v1/fieldData/copyModelsFieldData | Copy all existing field data from a BioModel/MathModel that you have access to, but don't own.
98+
*FieldDataResourceApi* | [**create_from_analyzed_file**](docs/FieldDataResourceApi.md#create_from_analyzed_file) | **POST** /api/v1/fieldData/createFromSpecification | Take the field data specification, and save it to the server. User may adjust the analyzed file before uploading to edit defaults.
99+
*FieldDataResourceApi* | [**create_from_simulation**](docs/FieldDataResourceApi.md#create_from_simulation) | **POST** /api/v1/fieldData/createFromSimulation | Create new field data from existing simulation results.
100+
*FieldDataResourceApi* | [**delete**](docs/FieldDataResourceApi.md#delete) | **DELETE** /api/v1/fieldData/delete/{fieldDataID} | Delete the selected field data.
101+
*FieldDataResourceApi* | [**get_all_ids**](docs/FieldDataResourceApi.md#get_all_ids) | **GET** /api/v1/fieldData/IDs | Get all of the ids used to identify, and retrieve field data.
102+
*FieldDataResourceApi* | [**get_shape_from_id**](docs/FieldDataResourceApi.md#get_shape_from_id) | **GET** /api/v1/fieldData/shape/{fieldDataID} | Get the shape of the field data. That is it's size, origin, extent, times, and data identifiers.
102103
*HelloWorldApi* | [**get_hello_world**](docs/HelloWorldApi.md#get_hello_world) | **GET** /api/v1/helloworld | Get hello world message.
103104
*PublicationResourceApi* | [**create_publication**](docs/PublicationResourceApi.md#create_publication) | **POST** /api/v1/publications | Create publication
104105
*PublicationResourceApi* | [**delete_publication**](docs/PublicationResourceApi.md#delete_publication) | **DELETE** /api/v1/publications/{id} | Delete publication
@@ -125,7 +126,7 @@ Class | Method | HTTP request | Description
125126
## Documentation For Models
126127

127128
- [AccesTokenRepresentationRecord](docs/AccesTokenRepresentationRecord.md)
128-
- [AnalyzedResultsFromFieldData](docs/AnalyzedResultsFromFieldData.md)
129+
- [AnalyzedFile](docs/AnalyzedFile.md)
129130
- [BatchSystemType](docs/BatchSystemType.md)
130131
- [BioModel](docs/BioModel.md)
131132
- [BiomodelRef](docs/BiomodelRef.md)
@@ -135,14 +136,15 @@ Class | Method | HTTP request | Description
135136
- [Extent](docs/Extent.md)
136137
- [ExternalDataIdentifier](docs/ExternalDataIdentifier.md)
137138
- [FieldDataReference](docs/FieldDataReference.md)
138-
- [FieldDataSaveResults](docs/FieldDataSaveResults.md)
139+
- [FieldDataSavedResults](docs/FieldDataSavedResults.md)
139140
- [FieldDataShape](docs/FieldDataShape.md)
140141
- [HelloWorldMessage](docs/HelloWorldMessage.md)
141142
- [HtcJobID](docs/HtcJobID.md)
142143
- [ISize](docs/ISize.md)
143144
- [Identity](docs/Identity.md)
144145
- [KeyValue](docs/KeyValue.md)
145146
- [MathmodelRef](docs/MathmodelRef.md)
147+
- [ModelType](docs/ModelType.md)
146148
- [Origin](docs/Origin.md)
147149
- [Publication](docs/Publication.md)
148150
- [SchedulerStatus](docs/SchedulerStatus.md)
@@ -152,6 +154,7 @@ Class | Method | HTTP request | Description
152154
- [SimulationQueueEntryStatusRecord](docs/SimulationQueueEntryStatusRecord.md)
153155
- [SimulationQueueID](docs/SimulationQueueID.md)
154156
- [SimulationStatusPersistentRecord](docs/SimulationStatusPersistentRecord.md)
157+
- [SourceModel](docs/SourceModel.md)
155158
- [Status](docs/Status.md)
156159
- [StatusMessage](docs/StatusMessage.md)
157160
- [User](docs/User.md)
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# AnalyzedFile
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**short_spec_data** | **List[List[List[int]]]** | | [optional]
8+
**var_names** | **List[str]** | | [optional]
9+
**times** | **List[float]** | | [optional]
10+
**origin** | [**Origin**](Origin.md) | | [optional]
11+
**extent** | [**Extent**](Extent.md) | | [optional]
12+
**isize** | [**ISize**](ISize.md) | | [optional]
13+
**annotation** | **str** | | [optional]
14+
**name** | **str** | | [optional]
15+
16+
## Example
17+
18+
```python
19+
from vcell_client.models.analyzed_file import AnalyzedFile
20+
21+
# TODO update the JSON string below
22+
json = "{}"
23+
# create an instance of AnalyzedFile from a JSON string
24+
analyzed_file_instance = AnalyzedFile.from_json(json)
25+
# print the JSON string representation of the object
26+
print AnalyzedFile.to_json()
27+
28+
# convert the object into a dict
29+
analyzed_file_dict = analyzed_file_instance.to_dict()
30+
# create an instance of AnalyzedFile from a dict
31+
analyzed_file_form_dict = analyzed_file.from_dict(analyzed_file_dict)
32+
```
33+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
34+
35+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# CopyFieldData
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**model_id** | **str** | | [optional]
8+
**model_type** | [**ModelType**](ModelType.md) | | [optional]
9+
10+
## Example
11+
12+
```python
13+
from vcell_client.models.copy_field_data import CopyFieldData
14+
15+
# TODO update the JSON string below
16+
json = "{}"
17+
# create an instance of CopyFieldData from a JSON string
18+
copy_field_data_instance = CopyFieldData.from_json(json)
19+
# print the JSON string representation of the object
20+
print CopyFieldData.to_json()
21+
22+
# convert the object into a dict
23+
copy_field_data_dict = copy_field_data_instance.to_dict()
24+
# create an instance of CopyFieldData from a dict
25+
copy_field_data_form_dict = copy_field_data.from_dict(copy_field_data_dict)
26+
```
27+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28+
29+

python-restclient/docs/FieldDataReference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**external_data_identifier** | [**ExternalDataIdentifier**](ExternalDataIdentifier.md) | | [optional]
8-
**external_data_annotation** | **str** | | [optional]
9-
**external_data_id_sim_refs** | [**List[KeyValue]**](KeyValue.md) | | [optional]
7+
**field_data_id** | [**ExternalDataIdentifier**](ExternalDataIdentifier.md) | | [optional]
8+
**annotation** | **str** | | [optional]
9+
**simulations_referencing_this_id** | [**List[KeyValue]**](KeyValue.md) | | [optional]
1010

1111
## Example
1212

0 commit comments

Comments
 (0)