-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into update_ontobio
- Loading branch information
Showing
2 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,17 @@ id: GORULE:0000058 | |
title: "Object extensions should conform to the extensions-patterns.yaml file in metadata" | ||
type: repair | ||
fail_mode: hard | ||
status: proposed | ||
status: implemented | ||
tags: [context-import] | ||
contact: "[email protected]" | ||
--- | ||
In the go-site/metadata directory there is a file `extensions-constraints.yaml`. This is | ||
Rules are in the `extensions-constraints.yaml` file (https://github.com/geneontology/go-site/blob/master/metadata/extensions-constraints.yaml). This is | ||
a list of allowed extension Relation, Filler (the ID inside the parentheses), and | ||
the acceptable GO Term roots used with this relation. A cardinality constraint may also be | ||
applied. | ||
|
||
Extensions in annotations should conform to these constraints. If an element of a | ||
Extensions in annotations should conform to these constraints. If an element of a | ||
disjunction in the extensions does not follow one of the constraints as listed in | ||
the above file, that element should be dropped from the extensions. | ||
the above file, that element is dropped from the extensions with a warning, and the remaining annotation is kept. | ||
|
||
Note that in the GO Central pipeline, this is only implmented upon imports of external annotations into Noctua. |