Skip to content

Commit 73f3828

Browse files
Merge pull request #1568 from virtualcell/export-control
Export control
2 parents 1ea2c18 + 07deeb0 commit 73f3828

314 files changed

Lines changed: 22605 additions & 1097 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.

docker/build/build.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,25 @@ build_api() {
102102
build_rest() {
103103
echo "building $repo/vcell-rest:$tag"
104104
echo "$SUDO_CMD docker buildx build --platform=linux/amd64 -f ../../vcell-rest/src/main/docker/Dockerfile.jvm --tag $repo/vcell-rest:$tag ../../vcell-rest"
105+
mvn clean install -DskipTests -Dvcell.exporter=false -f ../../vcell-rest/pom.xml
105106
$SUDO_CMD docker buildx build --platform=linux/amd64 -f ../../vcell-rest/src/main/docker/Dockerfile.jvm --tag $repo/vcell-rest:$tag ../../vcell-rest
106107
if [[ $? -ne 0 ]]; then echo "docker buildx build --platform=linux/amd64 failed"; exit 1; fi
107108
if [ "$skip_push" == "false" ]; then
108109
$SUDO_CMD docker push $repo/vcell-rest:$tag
109110
fi
110111
}
111112

113+
build_exporter() {
114+
echo "building $repo/vcell-rest:$tag"
115+
echo "$SUDO_CMD docker buildx build --platform=linux/amd64 -f ../../vcell-rest/src/main/docker/Dockerfile.jvm --tag $repo/vcell-exporter:$tag ../../vcell-rest"
116+
mvn clean install -DskipTests -Dvcell.exporter=true -f ../../vcell-rest/pom.xml
117+
$SUDO_CMD docker buildx build --platform=linux/amd64 -f ../../vcell-rest/src/main/docker/Dockerfile.jvm --tag $repo/vcell-exporter:$tag ../../vcell-rest
118+
if [[ $? -ne 0 ]]; then echo "docker buildx build --platform=linux/amd64 failed"; exit 1; fi
119+
if [ "$skip_push" == "false" ]; then
120+
$SUDO_CMD docker push $repo/vcell-exporter:$tag
121+
fi
122+
}
123+
112124

113125
build_webapp_common() {
114126
config=$1
@@ -251,6 +263,7 @@ case $target in
251263
;;
252264
rest)
253265
build_rest
266+
build_exporter
254267
exit $?
255268
;;
256269
webapp)

python-restclient/.openapi-generator/FILES

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,39 @@
33
README.md
44
docs/AccesTokenRepresentationRecord.md
55
docs/AdminResourceApi.md
6+
docs/AnalyticCurve.md
7+
docs/AnnotatedFunctionDTO.md
68
docs/ApplicationInfo.md
79
docs/BatchSystemType.md
810
docs/BioModel.md
911
docs/BioModelChildSummary.md
1012
docs/BioModelResourceApi.md
1113
docs/BioModelSummary.md
1214
docs/BiomodelRef.md
15+
docs/CompositeCurve.md
16+
docs/ControlPointCurve.md
17+
docs/Coordinate.md
18+
docs/Curve.md
19+
docs/CurveSelectionInfo.md
1320
docs/DataIdentifier.md
1421
docs/DetailedState.md
1522
docs/Domain.md
23+
docs/ExportEvent.md
24+
docs/ExportProgressType.md
25+
docs/ExportResourceApi.md
26+
docs/ExportableDataType.md
1627
docs/Extent.md
1728
docs/ExternalDataIdentifier.md
1829
docs/FieldData.md
1930
docs/FieldDataReference.md
2031
docs/FieldDataResourceApi.md
2132
docs/FieldDataSavedResults.md
2233
docs/FieldDataShape.md
34+
docs/FunctionCategory.md
2335
docs/GIFImage.md
36+
docs/GeometryMode.md
2437
docs/GeometryResourceApi.md
38+
docs/GeometrySpecDTO.md
2539
docs/GeometrySummary.md
2640
docs/GroupAccess.md
2741
docs/GroupAccessAll.md
@@ -30,6 +44,7 @@ docs/GroupAccessSome.md
3044
docs/HelloWorldApi.md
3145
docs/HelloWorldMessage.md
3246
docs/HtcJobID.md
47+
docs/HumanReadableExportData.md
3348
docs/ISize.md
3449
docs/Identity.md
3550
docs/MathModelChildSummary.md
@@ -38,11 +53,13 @@ docs/MathModelSummary.md
3853
docs/MathType.md
3954
docs/MathmodelRef.md
4055
docs/ModelType.md
56+
docs/N5ExportRequest.md
4157
docs/Origin.md
4258
docs/Publication.md
4359
docs/PublicationInfo.md
4460
docs/PublicationResourceApi.md
4561
docs/SPECIALCLAIM.md
62+
docs/SampledCurve.md
4663
docs/SchedulerStatus.md
4764
docs/SimulationExecutionStatusRecord.md
4865
docs/SimulationJobStatusRecord.md
@@ -53,8 +70,16 @@ docs/SimulationResourceApi.md
5370
docs/SimulationStatusPersistentRecord.md
5471
docs/SolverResourceApi.md
5572
docs/SourceModel.md
73+
docs/SpatialSelection.md
74+
docs/SpatialSelectionContour.md
75+
docs/SpatialSelectionMembrane.md
76+
docs/SpatialSelectionVolume.md
77+
docs/Spline.md
78+
docs/StandardExportInfo.md
5679
docs/Status.md
5780
docs/StatusMessage.md
81+
docs/TimeMode.md
82+
docs/TimeSpecs.md
5883
docs/User.md
5984
docs/UserIdentityJSONSafe.md
6085
docs/UserLoginInfoForMapping.md
@@ -68,6 +93,8 @@ docs/VCellHTTPError.md
6893
docs/VCellSite.md
6994
docs/VCellSoftwareVersion.md
7095
docs/VariableDomain.md
96+
docs/VariableMode.md
97+
docs/VariableSpecs.md
7198
docs/VariableType.md
7299
docs/Version.md
73100
docs/VersionFlag.md
@@ -77,6 +104,7 @@ vcell_client/__init__.py
77104
vcell_client/api/__init__.py
78105
vcell_client/api/admin_resource_api.py
79106
vcell_client/api/bio_model_resource_api.py
107+
vcell_client/api/export_resource_api.py
80108
vcell_client/api/field_data_resource_api.py
81109
vcell_client/api/geometry_resource_api.py
82110
vcell_client/api/hello_world_api.py
@@ -92,21 +120,34 @@ vcell_client/configuration.py
92120
vcell_client/exceptions.py
93121
vcell_client/models/__init__.py
94122
vcell_client/models/acces_token_representation_record.py
123+
vcell_client/models/analytic_curve.py
124+
vcell_client/models/annotated_function_dto.py
95125
vcell_client/models/application_info.py
96126
vcell_client/models/batch_system_type.py
97127
vcell_client/models/bio_model.py
98128
vcell_client/models/bio_model_child_summary.py
99129
vcell_client/models/bio_model_summary.py
100130
vcell_client/models/biomodel_ref.py
131+
vcell_client/models/composite_curve.py
132+
vcell_client/models/control_point_curve.py
133+
vcell_client/models/coordinate.py
134+
vcell_client/models/curve.py
135+
vcell_client/models/curve_selection_info.py
101136
vcell_client/models/data_identifier.py
102137
vcell_client/models/detailed_state.py
103138
vcell_client/models/domain.py
139+
vcell_client/models/export_event.py
140+
vcell_client/models/export_progress_type.py
141+
vcell_client/models/exportable_data_type.py
104142
vcell_client/models/extent.py
105143
vcell_client/models/external_data_identifier.py
106144
vcell_client/models/field_data.py
107145
vcell_client/models/field_data_reference.py
108146
vcell_client/models/field_data_saved_results.py
109147
vcell_client/models/field_data_shape.py
148+
vcell_client/models/function_category.py
149+
vcell_client/models/geometry_mode.py
150+
vcell_client/models/geometry_spec_dto.py
110151
vcell_client/models/geometry_summary.py
111152
vcell_client/models/gif_image.py
112153
vcell_client/models/group_access.py
@@ -115,16 +156,19 @@ vcell_client/models/group_access_none.py
115156
vcell_client/models/group_access_some.py
116157
vcell_client/models/hello_world_message.py
117158
vcell_client/models/htc_job_id.py
159+
vcell_client/models/human_readable_export_data.py
118160
vcell_client/models/i_size.py
119161
vcell_client/models/identity.py
120162
vcell_client/models/math_model_child_summary.py
121163
vcell_client/models/math_model_summary.py
122164
vcell_client/models/math_type.py
123165
vcell_client/models/mathmodel_ref.py
124166
vcell_client/models/model_type.py
167+
vcell_client/models/n5_export_request.py
125168
vcell_client/models/origin.py
126169
vcell_client/models/publication.py
127170
vcell_client/models/publication_info.py
171+
vcell_client/models/sampled_curve.py
128172
vcell_client/models/scheduler_status.py
129173
vcell_client/models/simulation_execution_status_record.py
130174
vcell_client/models/simulation_job_status_record.py
@@ -133,9 +177,17 @@ vcell_client/models/simulation_queue_entry_status_record.py
133177
vcell_client/models/simulation_queue_id.py
134178
vcell_client/models/simulation_status_persistent_record.py
135179
vcell_client/models/source_model.py
180+
vcell_client/models/spatial_selection.py
181+
vcell_client/models/spatial_selection_contour.py
182+
vcell_client/models/spatial_selection_membrane.py
183+
vcell_client/models/spatial_selection_volume.py
136184
vcell_client/models/specialclaim.py
185+
vcell_client/models/spline.py
186+
vcell_client/models/standard_export_info.py
137187
vcell_client/models/status.py
138188
vcell_client/models/status_message.py
189+
vcell_client/models/time_mode.py
190+
vcell_client/models/time_specs.py
139191
vcell_client/models/user.py
140192
vcell_client/models/user_identity_json_safe.py
141193
vcell_client/models/user_login_info_for_mapping.py
@@ -144,6 +196,8 @@ vcell_client/models/v_cell_http_error.py
144196
vcell_client/models/v_cell_site.py
145197
vcell_client/models/v_cell_software_version.py
146198
vcell_client/models/variable_domain.py
199+
vcell_client/models/variable_mode.py
200+
vcell_client/models/variable_specs.py
147201
vcell_client/models/variable_type.py
148202
vcell_client/models/vc_document_type.py
149203
vcell_client/models/vc_image_summary.py

python-restclient/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ Class | Method | HTTP request | Description
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.
9898
*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.
99+
*ExportResourceApi* | [**export_n5**](docs/ExportResourceApi.md#export_n5) | **POST** /api/v1/export/N5 |
100+
*ExportResourceApi* | [**export_status**](docs/ExportResourceApi.md#export_status) | **GET** /api/v1/export/status |
99101
*FieldDataResourceApi* | [**advanced_create**](docs/FieldDataResourceApi.md#advanced_create) | **POST** /api/v1/fieldData/advancedCreate | Create Field Data with granular detail in one request.The following files are accepted: .tif and .zip.
100102
*FieldDataResourceApi* | [**analyze_file**](docs/FieldDataResourceApi.md#analyze_file) | **POST** /api/v1/fieldData/analyzeFile | Analyze uploaded image file (Tiff, Zip, and Non-GPL BioFormats) and return field data. 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.
101103
*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.
@@ -146,40 +148,56 @@ Class | Method | HTTP request | Description
146148
## Documentation For Models
147149

148150
- [AccesTokenRepresentationRecord](docs/AccesTokenRepresentationRecord.md)
151+
- [AnalyticCurve](docs/AnalyticCurve.md)
152+
- [AnnotatedFunctionDTO](docs/AnnotatedFunctionDTO.md)
149153
- [ApplicationInfo](docs/ApplicationInfo.md)
150154
- [BatchSystemType](docs/BatchSystemType.md)
151155
- [BioModel](docs/BioModel.md)
152156
- [BioModelChildSummary](docs/BioModelChildSummary.md)
153157
- [BioModelSummary](docs/BioModelSummary.md)
154158
- [BiomodelRef](docs/BiomodelRef.md)
159+
- [CompositeCurve](docs/CompositeCurve.md)
160+
- [ControlPointCurve](docs/ControlPointCurve.md)
161+
- [Coordinate](docs/Coordinate.md)
162+
- [Curve](docs/Curve.md)
163+
- [CurveSelectionInfo](docs/CurveSelectionInfo.md)
155164
- [DataIdentifier](docs/DataIdentifier.md)
156165
- [DetailedState](docs/DetailedState.md)
157166
- [Domain](docs/Domain.md)
167+
- [ExportEvent](docs/ExportEvent.md)
168+
- [ExportProgressType](docs/ExportProgressType.md)
169+
- [ExportableDataType](docs/ExportableDataType.md)
158170
- [Extent](docs/Extent.md)
159171
- [ExternalDataIdentifier](docs/ExternalDataIdentifier.md)
160172
- [FieldData](docs/FieldData.md)
161173
- [FieldDataReference](docs/FieldDataReference.md)
162174
- [FieldDataSavedResults](docs/FieldDataSavedResults.md)
163175
- [FieldDataShape](docs/FieldDataShape.md)
176+
- [FunctionCategory](docs/FunctionCategory.md)
164177
- [GIFImage](docs/GIFImage.md)
178+
- [GeometryMode](docs/GeometryMode.md)
179+
- [GeometrySpecDTO](docs/GeometrySpecDTO.md)
165180
- [GeometrySummary](docs/GeometrySummary.md)
166181
- [GroupAccess](docs/GroupAccess.md)
167182
- [GroupAccessAll](docs/GroupAccessAll.md)
168183
- [GroupAccessNone](docs/GroupAccessNone.md)
169184
- [GroupAccessSome](docs/GroupAccessSome.md)
170185
- [HelloWorldMessage](docs/HelloWorldMessage.md)
171186
- [HtcJobID](docs/HtcJobID.md)
187+
- [HumanReadableExportData](docs/HumanReadableExportData.md)
172188
- [ISize](docs/ISize.md)
173189
- [Identity](docs/Identity.md)
174190
- [MathModelChildSummary](docs/MathModelChildSummary.md)
175191
- [MathModelSummary](docs/MathModelSummary.md)
176192
- [MathType](docs/MathType.md)
177193
- [MathmodelRef](docs/MathmodelRef.md)
178194
- [ModelType](docs/ModelType.md)
195+
- [N5ExportRequest](docs/N5ExportRequest.md)
179196
- [Origin](docs/Origin.md)
180197
- [Publication](docs/Publication.md)
181198
- [PublicationInfo](docs/PublicationInfo.md)
182199
- [SPECIALCLAIM](docs/SPECIALCLAIM.md)
200+
- [SampledCurve](docs/SampledCurve.md)
183201
- [SchedulerStatus](docs/SchedulerStatus.md)
184202
- [SimulationExecutionStatusRecord](docs/SimulationExecutionStatusRecord.md)
185203
- [SimulationJobStatusRecord](docs/SimulationJobStatusRecord.md)
@@ -188,8 +206,16 @@ Class | Method | HTTP request | Description
188206
- [SimulationQueueID](docs/SimulationQueueID.md)
189207
- [SimulationStatusPersistentRecord](docs/SimulationStatusPersistentRecord.md)
190208
- [SourceModel](docs/SourceModel.md)
209+
- [SpatialSelection](docs/SpatialSelection.md)
210+
- [SpatialSelectionContour](docs/SpatialSelectionContour.md)
211+
- [SpatialSelectionMembrane](docs/SpatialSelectionMembrane.md)
212+
- [SpatialSelectionVolume](docs/SpatialSelectionVolume.md)
213+
- [Spline](docs/Spline.md)
214+
- [StandardExportInfo](docs/StandardExportInfo.md)
191215
- [Status](docs/Status.md)
192216
- [StatusMessage](docs/StatusMessage.md)
217+
- [TimeMode](docs/TimeMode.md)
218+
- [TimeSpecs](docs/TimeSpecs.md)
193219
- [User](docs/User.md)
194220
- [UserIdentityJSONSafe](docs/UserIdentityJSONSafe.md)
195221
- [UserLoginInfoForMapping](docs/UserLoginInfoForMapping.md)
@@ -201,6 +227,8 @@ Class | Method | HTTP request | Description
201227
- [VCellSite](docs/VCellSite.md)
202228
- [VCellSoftwareVersion](docs/VCellSoftwareVersion.md)
203229
- [VariableDomain](docs/VariableDomain.md)
230+
- [VariableMode](docs/VariableMode.md)
231+
- [VariableSpecs](docs/VariableSpecs.md)
204232
- [VariableType](docs/VariableType.md)
205233
- [Version](docs/Version.md)
206234
- [VersionFlag](docs/VersionFlag.md)
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# AnalyticCurve
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**type** | **str** | | [default to 'AnalyticCurve']
8+
**exp_x** | **str** | | [optional]
9+
**exp_y** | **str** | | [optional]
10+
**exp_z** | **str** | | [optional]
11+
**offset** | [**Coordinate**](Coordinate.md) | | [optional]
12+
**analytic_offset** | [**Coordinate**](Coordinate.md) | | [optional]
13+
**default_num_samples** | **int** | | [optional]
14+
**segment_count** | **int** | | [optional]
15+
**valid** | **bool** | | [optional]
16+
17+
## Example
18+
19+
```python
20+
from vcell_client.models.analytic_curve import AnalyticCurve
21+
22+
# TODO update the JSON string below
23+
json = "{}"
24+
# create an instance of AnalyticCurve from a JSON string
25+
analytic_curve_instance = AnalyticCurve.from_json(json)
26+
# print the JSON string representation of the object
27+
print AnalyticCurve.to_json()
28+
29+
# convert the object into a dict
30+
analytic_curve_dict = analytic_curve_instance.to_dict()
31+
# create an instance of AnalyticCurve from a dict
32+
analytic_curve_form_dict = analytic_curve.from_dict(analytic_curve_dict)
33+
```
34+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
35+
36+
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# AnnotatedFunctionDTO
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**function_name** | **str** | | [optional]
8+
**function_expression** | **str** | | [optional]
9+
**error** | **str** | | [optional]
10+
**domain** | [**Domain**](Domain.md) | | [optional]
11+
**function_type** | [**VariableType**](VariableType.md) | | [optional]
12+
**category** | [**FunctionCategory**](FunctionCategory.md) | | [optional]
13+
14+
## Example
15+
16+
```python
17+
from vcell_client.models.annotated_function_dto import AnnotatedFunctionDTO
18+
19+
# TODO update the JSON string below
20+
json = "{}"
21+
# create an instance of AnnotatedFunctionDTO from a JSON string
22+
annotated_function_dto_instance = AnnotatedFunctionDTO.from_json(json)
23+
# print the JSON string representation of the object
24+
print AnnotatedFunctionDTO.to_json()
25+
26+
# convert the object into a dict
27+
annotated_function_dto_dict = annotated_function_dto_instance.to_dict()
28+
# create an instance of AnnotatedFunctionDTO from a dict
29+
annotated_function_dto_form_dict = annotated_function_dto.from_dict(annotated_function_dto_dict)
30+
```
31+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
32+
33+

0 commit comments

Comments
 (0)