Skip to content

Commit

Permalink
[#35] removing 'name' field of model program aggregation
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdash committed Jul 27, 2022
1 parent ba248af commit ede3da0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions hsmodels/schemas/aggregations.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,13 +420,6 @@ class Config:
default=None, title="Version", description="The software version or build number of the model", max_length=255
)

name: str = Field(
default="Unknown Model Program",
max_length=255,
title="Model Program Name",
description="A string expressing the name of the model program",
)

programming_languages: List[str] = Field(
default=[],
max_length=100,
Expand Down
1 change: 0 additions & 1 deletion tests/data/json/modelprogram.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"3": "4"
},
"version": "1",
"name": "Unknown Model Program",
"programming_languages": [
"R",
"python"
Expand Down
1 change: 0 additions & 1 deletion tests/data/metadata/modelprogram_meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
</rdf:Description>
</dc:rights>
<hsterms:modelCodeRepository rdf:resource="https://www.github.com"/>
<hsterms:modelProgramName>Unknown Model Program</hsterms:modelProgramName>
<hsterms:modelProgramSchema rdf:resource="https://www.hydroshare.org/resource/636729f24c03497e9b844ec3be63e823/data/contents/modelprogram_schema.json"/>
<hsterms:extendedMetadata>
<rdf:Description>
Expand Down

0 comments on commit ede3da0

Please sign in to comment.