Skip to content

Commit

Permalink
updating method
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie1977 authored Aug 22, 2023
1 parent c4810dc commit 048751c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/uk/ac/ebi/vfb/neo4j/KB_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,7 @@ def get_log(self):
self.commit_log = []
return out

@staticmethod
def update_anat_id(anat_id, *args, **kwargs):
if not isinstance(anat_id, str):
return anat_id
Expand All @@ -902,7 +903,7 @@ def update_anat_id(anat_id, *args, **kwargs):

return {"iri": iri, "short_form": short_form}


@staticmethod
def update_channel_id(anat_id_dict):
# Extract the IRI and short_form from the given dictionary
iri = anat_id_dict['iri']
Expand Down

0 comments on commit 048751c

Please sign in to comment.