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

Extract generic protvista component #17

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andreas-grafberger
Copy link

Description of changes

This PR contains an example for how one could create a more general protvista component that can be used for websites other than uniprot. Key changes include

  • Split protvista-uniprot.js into a general protvista.js component and its concrete implementation protvista-uniprot.js
  • The config file can be supplied via a user-defined function, defined in protvista-uniprot.js. This enables fetching the config e.g. via HTTP requests.
  • Necessary data adapters and nightingale components are specified in protvista-uniprot.js and passed down to protvista.js. This allows one to e.g. overwrite a component and add data adapters for other sources

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.

1 participant