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

Fix instance data links #493

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Fix instance data links #493

wants to merge 8 commits into from

Conversation

kltm
Copy link
Member

@kltm kltm commented Apr 25, 2018

Also see #491 (previous PR) and #492 (issue)

@kltm
Copy link
Member Author

kltm commented Apr 25, 2018

Tests are run with npm run tests in javascript/npm/amigo2-instance-data.

@kltm
Copy link
Member Author

kltm commented Apr 25, 2018

Sadly, failing as we (I) cowboy coded the fix to PANTHER yesterday.

@kltm kltm changed the title Fix wb links Fix instance data links Apr 25, 2018
@kltm
Copy link
Member Author

kltm commented Apr 25, 2018

@nathandunn Could you pull javascript/lib/amigo/linker.js.tests from the PR--that is actually the wrong library/file. I'm making the corrections in the right place.

@kltm
Copy link
Member Author

kltm commented Apr 25, 2018

@nathandunn For this test, there is still a problem:

      AssertionError: linker: wb gene: expected 'http://www.wormbase.org/db/gene/gene?name=WBGene00003001' to equal 'http://www.wormbase.org/get?name=WBGene00003001&class=Gene'

@kltm
Copy link
Member Author

kltm commented Apr 25, 2018

@nathandunn Could you also remove external/db-xrefs.yaml ? This is an offline backup and I'll update that now separately on master. No relation to anything on this ticket.

@kltm
Copy link
Member Author

kltm commented Apr 25, 2018

@nathandunn I merged back with master after copying from upstream and your external/db-xrefs.yaml is still off--that shouldn't be correct. What other changes were you making that are not reflected upstream?

@nathandunn
Copy link

@kltm Fortuitious . . I'll fix and add one more type

@kltm
Copy link
Member Author

kltm commented Apr 25, 2018

Fix in the upstream, yes?

@nathandunn
Copy link

is it just a fix in db-xrefs.yaml . ? or do I need to fix it in the tets as well

@kltm
Copy link
Member Author

kltm commented Apr 25, 2018

All data is derived from the upstream db-xrefs.yaml (the copy in external/db-xrefs.yaml is a backup in case the internet of borked and rarely used), so all fixes must start there. If there is a change necessary in the tests, that is done in javascript/npm/amigo2-instance-data/tests/linker.tests.js . I believe the changes in javascript/lib/amigo/linker.js.tests should be removed (that is something of a holdover and not related to the code we publish).

@nathandunn
Copy link

@kltm Is there a way to run the tests directly? Make changes to db-xrefs, etc. ? It looks like its running the linker tests off of the old db-xrefs.yaml defintion

@nathandunn
Copy link

@kltm Where is the upstream file located?

@kltm
Copy link
Member Author

kltm commented Apr 25, 2018

@nathandunn

Sorry, I though you were clear what the db-xrefs.yaml upstream was from our conversations over the last couple of days. To reiterate: all metadata is derived from geneontology/go-site. In this case: https://github.com/geneontology/go-site/blob/master/metadata/db-xrefs.yaml . If it doesn't happen in master on go-site, it didn't happen. The file external/db-xrefs.yaml is an offline backup that is not realistically every used; it was strange times when that backup was added.

Tests are run as: #493 (comment)

A description of the release process is: https://github.com/geneontology/amigo#releases . The install step is what grabs the new upstream and compiles it into JavaScript.

@nathandunn
Copy link

I updated the tests to reflect transgenes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants