Skip to content

Commit dacc35a

Browse files
deepakunni3cthoyt
andauthored
Update repository field for VariO (#2377)
* Remove placeholder repository field from vario.md * Update validate-metadata.py --------- Co-authored-by: Charles Tapley Hoyt <cthoyt@gmail.com>
1 parent 1d9dc31 commit dacc35a

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

ontology/vario.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ publications:
2929
title: 'Variation ontology: annotator guide'
3030
- id: https://www.ncbi.nlm.nih.gov/pubmed/25616435
3131
title: Types and effects of protein variations
32-
repository: N/A
3332
tracker: http://variationontology.org/instructions.shtml
3433
activity_status: orphaned
3534
---

util/validate-metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,15 +175,15 @@ def validate_metadata(item, schema):
175175

176176
# these cases will not cause test failure and will not be logged
177177
# the results are just added to the metadata grid:
178-
# - orphaned ontology on contact or license check
178+
# - orphaned ontology on contact or license or repository check
179179
# - inactive ontology
180180
# - obsolete ontology
181181
# - ontology annotated with `validate: false`
182182
# - ontology in legacy license exception list
183183
if not (
184184
(
185185
item.get("activity_status") == "orphaned"
186-
and title in ["contact", "license"]
186+
and title in ["contact", "license", "repository"]
187187
)
188188
or (
189189
item.get("is_obsolete") is True

0 commit comments

Comments
 (0)