Skip to content

Commit

Permalink
Merge branch 'master' into hotfix1
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie1977 authored Sep 5, 2024
2 parents f5716e8 + cb3be31 commit 53f70d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vfb_connect/cross_server_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,9 @@ def xref_2_vfb_id(self, acc=None, db='', id_type='', reverse_return=False, retur
else:
new_acc.append(xref.split(':')[-1])
acc = new_acc
if isinstance(acc, list) and all(isinstance(x, int) for x in acc):
acc = [str(x) for x in acc]
print(f"Converted to strings: {acc}") if verbose else None
if db in VFB_DBS_2_SYMBOLS.keys():
db = VFB_DBS_2_SYMBOLS[db]
result = self.neo_query_wrapper.xref_2_vfb_id(acc=acc, db=db, id_type=id_type, reverse_return=reverse_return, verbose=verbose)
Expand Down

0 comments on commit 53f70d1

Please sign in to comment.