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

Parse links in the COMMENT field #11

Open
Tracked by #5
y1zhou opened this issue Jan 19, 2022 · 2 comments
Open
Tracked by #5

Parse links in the COMMENT field #11

y1zhou opened this issue Jan 19, 2022 · 2 comments

Comments

@y1zhou
Copy link
Owner

y1zhou commented Jan 19, 2022

COMMENT corresponds to the "Summary" section on the website, and often spans multiple lines containing links to various other attributes, e.g. |CITS:[Hill99]|. Once all the other nodes are created, there should be a function that parses the COMMENT attribute and create relationships with other nodes.

@y1zhou y1zhou changed the title COMMENT corresponds to the "Summary" section on the website, and often spans multiple lines containing links to various other attributes, e.g. |CITS:[Hill99]|. Parse links in the COMMENT field Jan 19, 2022
@y1zhou
Copy link
Owner Author

y1zhou commented Jan 19, 2022

Upon further inspection, the only cases are |CIT:, |CITS:, and |FRAME:. For all FRAME references we can probably just link to https://metacyc.org/META/NEW-IMAGE?object={FRAME-ID}.

@y1zhou
Copy link
Owner Author

y1zhou commented Jan 26, 2022

For now there's no plan to parse this in the database. The links could be added on the frontend only.

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

No branches or pull requests

1 participant