-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply changes made on OBOFoundry.github.io (#141)
* Remove 'and usages' from tracker check This commit was supposed to be added in this repo. Ref commit: 9c3d971f79d1492e2bc50f1585e3586864bd2ecf * fix 'license' typos in fp_001.py This commit was supposed to be done here. Ref commit a182e0e57335042c03b0a23f5a6d74db07a96c6b * fix typo in fp_007.py This commit was supposed to be done here. Ref commit 8fd395bb03c18bc49114b405574b5719ef1539b7 * Apply prettier This commit was supposed to be done here. Ref commit ebc2d0935b3de55076ec61c5a6e4be7cd279c7de * Fix typo on util/dashboard/fp_006.py Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * fix typo on util/dashboard/fp_009.py * fix typo on util/dashboard/fp_006.py * Enhance HTTP status code documentation. Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Documenting error thresholds Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Enhance implementation documentation --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
- Loading branch information
1 parent
ea99dd2
commit b7642d3
Showing
13 changed files
with
93 additions
and
26 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
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
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
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
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 |
---|---|---|
|
@@ -5,12 +5,15 @@ | |
## Discussion on this check can be [found here](https://github.com/OBOFoundry/OBOFoundry.github.io/issues/1007). | ||
## | ||
## ### Requirements | ||
## | ||
## 1. The ontology **must** have a single contact person | ||
## | ||
## ### Fixes | ||
## | ||
## First, read the [FAQ](http://obofoundry.github.io/faq/how-do-i-edit-metadata.html) on how to edit the metadata for your ontology. | ||
## | ||
## Next, determine who the point person for your ontology project is. This *must not* be a mailing list. If this person does not already have a GitHub account, we request that they [create one](https://github.com/join). Then, add the following to your [metadata file](https://github.com/OBOFoundry/OBOFoundry.github.io/tree/master/ontology) (replacing with the correct email, name, and GitHub username): | ||
## | ||
## ``` | ||
## contact: | ||
## email: [email protected] | ||
|
@@ -19,13 +22,14 @@ | |
## ``` | ||
## | ||
## ### Implementation | ||
## | ||
## The registry data entry is validated with JSON schema using the [contact schema](https://raw.githubusercontent.com/OBOFoundry/OBOFoundry.github.io/master/util/schema/contact.json). The contact schema ensures that a contact entry is present and that the entry has a name and email address. | ||
|
||
import jsonschema | ||
|
||
import dash_utils | ||
import jsonschema | ||
from dash_utils import format_msg | ||
|
||
|
||
def has_contact(data, contact_schema): | ||
"""Check fp 11 - locus of authority. | ||
|
Oops, something went wrong.