Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
nwlandry committed Nov 13, 2024
1 parent 0ad4172 commit bafe128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xgi/readwrite/bigg_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def _bigg_to_dihypergraph(d_index, d_model):
if not reactants and not products:
warn(f"{r['id']} is an empty reaction!")
continue
DH.add_edge((reactants, products), id=r["id"], name=r["name"])
DH.add_edge((reactants, products), idx=r["id"], name=r["name"])

# reverse direction
if l < 0 and u <= 0:
Expand Down

0 comments on commit bafe128

Please sign in to comment.