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

untested fix for SciBite PR: -> UniProtKB: prefix normalization #384

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

Conversation

realmarcin
Copy link
Collaborator

this has been languishing because the test is a bit complicated -- but doing a PR to put on the radar

@@ -175,6 +175,18 @@ def parse_annotation_doc(self, node_handle, edge_handle, doc: Dict) -> None:
curie = self.contract_uri(t)
name = self.concept_name_map[t] if t in self.concept_name_map else "",

###
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indent


###test
if not re.search("^PR:\d+$", curie):
continue
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you want to do this. Anything that is not a PRO ID will never be exported. See https://www.tutorialspoint.com/python/python_loop_control.htm

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.

2 participants