Skip to content

Commit

Permalink
Merge pull request #21 from alliance-genome/SCRUM-319
Browse files Browse the repository at this point in the history
SCRUM-319 - Add biogrid prefix to each ontology term
  • Loading branch information
azurebrd authored Jan 26, 2022
2 parents 74e719e + f757b8f commit a31df8b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/processor/interaction_genetic_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,9 +501,8 @@ def get_data(self):
for entry in ontology_terms:
entry = re.sub(r":type:([^:]+)$", r";type(\1)", entry)
entry = re.sub(r":", r"_", entry)
parsed_ontology_terms.append(entry)
parsed_ontology_terms.append('biogrid:' + entry)
ontology_terms = "|".join(parsed_ontology_terms)
ontology_terms = 'biogrid:' + ontology_terms

# We need to add '-' characters to columns 17-42 for biogrid entries.
for _ in range(17,43):
Expand Down

0 comments on commit a31df8b

Please sign in to comment.