Skip to content

Commit

Permalink
More bugfixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav committed Nov 7, 2024
1 parent b0021f1 commit 3e13196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node_normalizer/normalizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ async def create_node(app, canonical_id, equivalent_ids, types, info_contents, i
for identifier in eids:
curie = identifier.get('i', '')
identifiers_with_labels, types = await get_eqids_and_types(app, [curie])
labels = map(lambda ident: ident.get('l', ''), identifiers_with_labels[curie])
labels = map(lambda ident: ident.get('l', ''), identifiers_with_labels[0])
if any(map(lambda l: l != '', labels)):
break

Expand Down

0 comments on commit 3e13196

Please sign in to comment.