Skip to content

Commit

Permalink
Update heterograph_models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-grim authored Oct 30, 2024
1 parent 9a1bc87 commit ab1699c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def forward(self, x_dict, edge_index_dict, edge_attr_dict):

# --- Utils ---
def reformat_edge_key(key):
if type(key) is str
if type(key) is str:
return tuple([rm_non_alphanumeric(s) for s in key.split(",")])
else:
return key
Expand Down

0 comments on commit ab1699c

Please sign in to comment.