Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrozum committed Mar 1, 2024
1 parent 089c1fe commit 1e4fa78
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/succession_diagram_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,13 @@ def test_attractor_expansion(network_file: str):


def test_attractor_extraction():
sd = balm.SuccessionDiagram.from_bnet("""
sd = balm.SuccessionDiagram.from_bnet(
"""
A, B
B, A & C
C, !A | B
""")
"""
)
sd.build()
eas = sd.expanded_attractor_seeds()
assert eas == {1: [{"A": 0, "B": 0, "C": 1}], 2: [{"A": 1, "B": 1, "C": 1}]}

1 comment on commit 1e4fa78

@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
   control.py1141488%102, 114, 120, 124, 129, 138–154, 472, 475, 488
   interaction_graph_utils.py30487%6–8, 145–146
   motif_avoidant.py152299%25, 121
   petri_net_translation.py1481193%18–22, 58, 94, 207–208, 232–233, 242, 346
   space_utils.py129497%25–27, 252, 278
   succession_diagram.py2571395%6, 165, 179, 187, 247–248, 258, 264, 380, 591, 794, 832, 869
   symbolic_utils.py26388%10–12, 44
   trappist_core.py1833084%11–15, 45, 47, 82, 129, 195, 197, 199, 227–230, 234–236, 256–262, 320, 322, 352, 392, 394, 425, 454
balm/_sd_algorithms
   compute_attractor_seeds.py30197%8
   expand_attractor_seeds.py51590%6, 42, 97–102
   expand_bfs.py28196%6
   expand_dfs.py30197%6
   expand_minimal_spaces.py37295%6, 31
   expand_source_SCCs.py164696%19–21, 91, 101, 143, 287
   expand_to_target.py31390%6, 38, 43
TOTAL147110093% 

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

Please sign in to comment.