Skip to content

Commit

Permalink
fix sd analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
kyuhyongpark committed Dec 20, 2023
1 parent 67d1a87 commit 7848219
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions analysis/SD_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
import sys
sys.path.append("..")

import nfvsmotifs
import balm

from biodivine_aeon import BooleanNetwork
from nfvsmotifs.SuccessionDiagram import SuccessionDiagram
from balm.SuccessionDiagram import SuccessionDiagram


LOG_LOCATION = "SD_analysis_" + sys.argv[1].split("/")[-2] + ".csv"

# Print progress and succession diagram size.
nfvsmotifs.SuccessionDiagram.DEBUG = True # type: ignore
balm.SuccessionDiagram.DEBUG = True # type: ignore

NODE_LIMIT = 1_000_000
DEPTH_LIMIT = 10_000
Expand Down
8 changes: 4 additions & 4 deletions analysis/SD_analysis_att.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
import sys
sys.path.append("..")

import nfvsmotifs
import balm

from biodivine_aeon import BooleanNetwork
from nfvsmotifs.SuccessionDiagram import SuccessionDiagram
from nfvsmotifs._sd_algorithms.expand_source_SCCs import expand_source_SCCs
from balm.SuccessionDiagram import SuccessionDiagram
from balm._sd_algorithms.expand_source_SCCs import expand_source_SCCs


LOG_LOCATION = "SD_analysis_att_" + sys.argv[1].split("/")[-2] + ".csv"

# Print progress and succession diagram size.
nfvsmotifs.SuccessionDiagram.DEBUG = True # type: ignore
balm.SuccessionDiagram.DEBUG = True # type: ignore

# This is unfortunately necessary for PyEDA Boolean expression parser (for now).
sys.setrecursionlimit(150000)
Expand Down
6 changes: 3 additions & 3 deletions analysis/SD_analysis_size.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
import sys
sys.path.append("..")

import nfvsmotifs
import balm

from biodivine_aeon import BooleanNetwork
from nfvsmotifs.SuccessionDiagram import SuccessionDiagram
from balm.SuccessionDiagram import SuccessionDiagram


LOG_LOCATION = "SD_analysis_size_" + sys.argv[1].split("/")[-2] + ".csv"

# Print progress and succession diagram size.
nfvsmotifs.SuccessionDiagram.DEBUG = True # type: ignore
balm.SuccessionDiagram.DEBUG = True # type: ignore

NODE_LIMIT = 1_000_000
DEPTH_LIMIT = 10_000
Expand Down

1 comment on commit 7848219

@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.py156497%6–7, 208, 468
   control.py1201389%47, 56, 60, 66, 80, 89–105, 319, 334
   interaction_graph_utils.py142894%6–9, 57, 70, 95–96
   motif_avoidant.py163597%23–24, 130, 184, 309
   petri_net_translation.py84693%23–24, 52, 63–64, 94
   pyeda_utils.py953464%12, 56–66, 90, 95, 98–112, 140–144
   space_utils.py145696%15–16, 189, 218, 233, 290
   state_utils.py681282%15, 55–66, 98, 105, 114
   terminal_restriction_space.py44491%6–7, 80, 97
   trappist_core.py1862089%10–11, 39, 41, 81, 127, 192, 194, 196, 231–233, 259, 317, 319, 349, 389, 391, 422, 451
balm/FVSpython3
   FVS.py481079%93–94, 102, 138, 190–198
   FVS_localsearch_10_python.py90199%179
balm/_sd_algorithms
   compute_attractor_seeds.py29197%6
   expand_attractor_seeds.py51492%6, 95–100
   expand_bfs.py28196%6
   expand_dfs.py30197%6
   expand_minimal_spaces.py37197%6
   expand_source_SCCs.py184796%84, 94, 137, 160–161, 166, 281
   expand_to_target.py30390%6, 37, 42
TOTAL182714192% 

Tests Skipped Failures Errors Time
366 0 💤 0 ❌ 0 🔥 3m 11s ⏱️

Please sign in to comment.