Skip to content

Commit

Permalink
fix type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
kyuhyongpark committed Dec 20, 2023
1 parent 0cc7ddb commit f7a2d4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions balm/_sd_algorithms/expand_minimal_spaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ def expand_minimal_spaces(
if node_id is None:
node_id = sd.root()

node = cast(dict[str, Any], sd.dag.nodes[node_id])
start_node = cast(dict[str, Any], sd.dag.nodes[node_id])

current_space = node["space"]
current_space = start_node["space"]

minimal_traps = trappist(sd.petri_net, problem="min",
ensure_subspace=current_space)
Expand Down

1 comment on commit f7a2d4d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
balm
   SuccessionDiagram.py2114181%6, 124–131, 136–140, 153, 160, 167, 175, 178, 184–215, 306, 446–448, 454, 588
   control.py1191389%48, 57, 61, 67, 81, 90–106, 320, 335
   interaction_graph_utils.py57689%6–7, 44, 57, 82–83
   motif_avoidant.py164597%24–25, 131, 185, 310
   petri_net_translation.py84693%23–24, 52, 63–64, 94
   pyeda_utils.py963564%12–13, 57–67, 91, 96, 99–113, 141–145
   space_utils.py1471590%15–17, 179–193, 220, 235, 292
   state_utils.py691283%15, 57–68, 102, 109, 118
   trappist_core.py1872686%10–12, 40, 42, 82, 128, 193, 195, 197, 232–234, 254–260, 318, 320, 350, 390, 392, 423, 452
balm/_sd_algorithms
   compute_attractor_seeds.py30197%8
   expand_attractor_seeds.py53492%6, 102–107
   expand_bfs.py28196%6
   expand_dfs.py30197%6
   expand_minimal_spaces.py41198%6
   expand_source_SCCs.py188896%19, 89, 99, 142, 165–166, 171, 286
   expand_to_target.py31390%6, 38, 43
TOTAL156417889% 

Tests Skipped Failures Errors Time
363 0 💤 0 ❌ 0 🔥 1m 1s ⏱️

Please sign in to comment.