Skip to content

Commit

Permalink
Add extra schema for TA3 models (#54)
Browse files Browse the repository at this point in the history
* updated

* these are saved

* save
  • Loading branch information
marshHawk4 authored Jul 30, 2024
1 parent ce755f8 commit 2ac96f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions cdr_schemas/cdr_responses/prospectivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ class DataSource(CreateDataSource):


class CreateProcessDataLayer(BaseModel):
cma: CriticalMineralAssessment = Field(
description="CMA with all information needed for processing"
)
data_source: DataSource = Field(description="Data source to create this layer")
title: str = Field(description="Title to use for processed layer")
transform_methods: TranformMethods = Field(
Expand All @@ -39,5 +36,6 @@ class ProspectModelMetaData(BaseModel):

model_run_id: str = Field(description="CDR id of the model run")
cma: CriticalMineralAssessment = Field(description="CMA info")
model_type: str
train_config: Union[SOMTrainConfig, NeuralNetUserOptions]
evidence_layers: List[CreateProcessDataLayer]
1 change: 1 addition & 0 deletions cdr_schemas/prospectivity_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ class CreateProspectModelMetaData(BaseModel):
author: str = ""
date: str = ""
organization: str = ""
model_type: str
train_config: Union[SOMTrainConfig, NeuralNetUserOptions]
evidence_layers: List[DefineProcessDataLayer] = Field(
description="Datasource and preprocess steps"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cdr_schemas"
version = "0.4.0"
version = "0.4.1"
description = "CDR Schemas"
authors = []
readme = "README.md"
Expand Down

0 comments on commit 2ac96f5

Please sign in to comment.