Skip to content

Commit a076438

Browse files
author
Hiroaki Imoto
authored
Release v0.7.2 (#49)
* Install matplotlib * Specify python3 * Don't use isintalled in BioMASS.jl * Bump version to 0.7.2 * Update workflow
1 parent 0397c3e commit a076438

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.github/workflows/Documentation.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14+
- name: Install Python dependencies
15+
run: if [ "$RUNNER_OS" = "Linux" ]; then sudo apt-get install -y python3-numpy python3-scipy python3-matplotlib; fi
16+
shell: bash
1417
- uses: actions/checkout@v2
1518
- uses: julia-actions/setup-julia@latest
1619
with:

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
arch:
1818
- x64
1919
steps:
20+
- name: Install Python dependencies
21+
run: if [ "$RUNNER_OS" = "Linux" ]; then sudo apt-get install -y python3-numpy python3-scipy python3-matplotlib; fi
22+
shell: bash
2023
- uses: actions/checkout@v2
2124
- uses: julia-actions/setup-julia@v1
2225
with:

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "BioMASS"
22
uuid = "324734c7-f323-4536-9335-775d9be9d101"
33
authors = ["Hiroaki Imoto <himoto@protein.osaka-u.ac.jp>"]
4-
version = "0.7.1"
4+
version = "0.7.2"
55

66
[deps]
77
CMAEvolutionStrategy = "8d3b24bd-414e-49e0-94fb-163cc3a3e411"

src/BioMASS.jl

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,12 @@ function isinstalled(pymodule::String)::Bool
8888
end
8989
end
9090

91-
if isinstalled("numpy") && isinstalled("scipy")
92-
include("pyproject.jl")
93-
end
91+
include("pyproject.jl")
9492
include("optimize.jl")
9593
include("estimation/initial_population.jl")
9694
include("estimation/converging.jl")
9795
include("estimation/local_search.jl")
9896
include("estimation/ga.jl")
99-
if isinstalled("matplotlib")
100-
include("visulalize.jl")
101-
end
97+
include("visulalize.jl")
10298
include("continuation.jl")
10399
end # module

0 commit comments

Comments
 (0)