Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add go-site testing to the ontobio doc #701

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions bin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,24 @@ poetry run validate produce -m ../go-site/metadata --gpad -t . -o go-basic.json
poetry run validate produce -m ../go-site/metadata --gpad -t . -o go-basic.json --base-download-url "http://snapshot.geneontology..org/" --only-dataset zfin ZFIN --gpad-gpi-output-version 2.0
```

a secondary step, is to test the new release via the go-site repository that is running from the GO pipeline

```bash
cd ../go-site
git pull origin master
cd pipeline
mkdir -p target
python3 -m venv env
. env/bin/activate
pip install -r requirements.txt # if need be, update to latest ontobio release to test new code changes.
touch target/groups/rnacentral/rnacentral.gaferences.json
rm -f target/go-ontology.json
BRANCH_NAME=snapshot
ONTOLOGY=http://skyhook.berkeleybop.org/snapshot/ontology/go.json
make target/groups/rnacentral/rnacentral.group
```


To test whether a GAF file is valid (passes all the GORules):
```bash
poetry install
Expand Down
Loading