Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
TieuLongPhan committed Dec 5, 2024
1 parent 0d3c4c1 commit 3b6e031
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions synutility/SynGraph/Descriptor/graph_descriptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,7 @@ def get_descriptors(
)

GraphDescriptor._adjust_cycle_and_step(entry, "cycle", entry["topo"])
entry["signature_rc"] = GraphSignature(graph).create_graph_signature(
topo=entry["topo"],
cycle=entry["cycle"],
rstep=entry["rstep"],
condensed=condensed,
)
entry["signature_rc"] = GraphSignature(graph).create_graph_signature()

# Initialize ITS descriptors and call adjust
topo_its = GraphDescriptor.check_graph_type(its_graph)
Expand All @@ -195,12 +190,7 @@ def get_descriptors(
entry, "cycle_its", topo_its, its_prefix="its"
)

entry["signature_its"] = GraphSignature(its_graph).create_graph_signature(
topo=topo_its,
cycle=entry["cycle_its"],
rstep=entry["rstep_its"],
condensed=condensed,
)
entry["signature_its"] = GraphSignature(its_graph).create_graph_signature()

return entry

Expand Down

0 comments on commit 3b6e031

Please sign in to comment.