Skip to content

Commit 1a0c725

Browse files
authored
Clean up DynamicalSystems[Base] dependency (#12)
1 parent df6cb41 commit 1a0c725

File tree

7 files changed

+12
-15
lines changed

7 files changed

+12
-15
lines changed

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version = "0.2.0"
66
[deps]
77
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
88
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
9-
DynamicalSystems = "61744808-ddfa-5f27-97ff-6e42cc95d634"
9+
DynamicalSystemsBase = "6e36e845-645a-534a-86f2-f5d4aa5a06b4"
1010
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
1111
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
1212
HerbConstraints = "1fa96474-3206-4513-b4fa-23913f296dfc"
@@ -22,7 +22,7 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2222
[compat]
2323
AbstractTrees = "0.4.5"
2424
DocStringExtensions = "0.9.3"
25-
DynamicalSystems = "3"
25+
DynamicalSystemsBase = "3.13.2"
2626
FileIO = "1"
2727
Graphs = "1.12"
2828
HerbConstraints = "0.2.4"
@@ -32,6 +32,6 @@ HerbSearch = "0.4.1"
3232
MLStyle = "0.4.17"
3333
MetaGraphsNext = "0.7"
3434
Random = "1.10"
35-
SoleLogics = "0.12"
35+
SoleLogics = "0.12.0"
3636
Statistics = "1.10"
3737
julia = "1.6"

src/GraphDynamicalSystems.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
module GraphDynamicalSystems
22

33
using DocStringExtensions
4-
using DynamicalSystems
5-
using MetaGraphsNext
6-
using SoleLogics
74

85

96
include("boolean_networks.jl")

src/boolean_networks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module BooleanNetworks
66

77
using DocStringExtensions
88
using MetaGraphsNext: MetaGraph, add_edge!, SimpleDiGraph, nv, labels
9-
using DynamicalSystems: ArbitrarySteppable
9+
using DynamicalSystemsBase: ArbitrarySteppable
1010
using SoleLogics:
1111
Formula,
1212
Atom,

src/qualitative_networks.jl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
import DynamicalSystems: get_state, set_state!
1+
import DynamicalSystemsBase: get_state, set_state!
22

33
using AbstractTrees: Leaves
4+
using DynamicalSystemsBase: ArbitrarySteppable
5+
using HerbConstraints: addconstraint!, DomainRuleNode, VarNode, Ordered, Forbidden
46
using HerbCore: AbstractGrammar, RuleNode, get_rule
57
using HerbGrammar: add_rule!, rulenode2expr, @csgrammar
6-
using HerbConstraints: addconstraint!, DomainRuleNode, VarNode, Ordered, Forbidden
7-
using HerbSearch
8+
using HerbSearch: rand
89
using MLStyle: @match
9-
using MetaGraphsNext: MetaGraph, SimpleDiGraph, add_edge!, nv
10+
using MetaGraphsNext: MetaGraph, SimpleDiGraph, add_edge!, nv, labels
1011

1112
base_qn_grammar = @csgrammar begin
1213
Val = Val + Val

test/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[deps]
22
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
3-
DynamicalSystems = "61744808-ddfa-5f27-97ff-6e42cc95d634"
3+
DynamicalSystemsBase = "6e36e845-645a-534a-86f2-f5d4aa5a06b4"
44
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
55
HerbCore = "2b23ba43-8213-43cb-b5ea-38c12b45bd45"
66
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"

test/test-bn.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using MetaGraphsNext: nv, MetaGraph
2-
using DynamicalSystems: trajectory
2+
using DynamicalSystemsBase: trajectory
33
using SoleLogics: cnf, AbstractSyntaxStructure, LeftmostLinearForm,
44

55
@testset "Boolean Network Sampling" begin

test/test-qn.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using DynamicalSystems
2-
using GraphDynamicalSystems
1+
using DynamicalSystemsBase: step!, get_state, set_state!
32
using Graphs: ne, nv
43

54
@testset "QN Grammar Creation" begin

0 commit comments

Comments
 (0)