Skip to content

Commit a0faf8a

Browse files
committed
fixes
1 parent 8bf8732 commit a0faf8a

File tree

4 files changed

+11
-15
lines changed

4 files changed

+11
-15
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
matrix:
2525
version:
2626
- '1.10'
27-
- 'pre'
2827
os:
2928
- ubuntu-latest
3029
arch:

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "PyBoltz"
22
uuid = "0bca4874-a2b8-4dca-bc03-d2d86e344f1f"
33
authors = ["Anton Oresten and Aron Stålmarck"]
4-
version = "0.1.2"
4+
version = "0.2.0"
55

66
[deps]
77
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
@@ -27,7 +27,7 @@ CondaPkg = "0.2"
2727
ProteinChains = "0.7"
2828
PythonCall = "0.9"
2929
Scratch = "1"
30-
TMscore = "0.1.0"
30+
TMscore = "0.1"
3131
YAML = "0.4"
3232
julia = "1.10"
3333

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
[![Build Status](https://github.com/MurrellGroup/PyBoltz.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/MurrellGroup/PyBoltz.jl/actions/workflows/CI.yml?query=branch%3Amain)
55
[![Coverage](https://codecov.io/gh/MurrellGroup/PyBoltz.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/MurrellGroup/PyBoltz.jl)
66

7-
> [!WARNING]
8-
> Boltz currently fails when using CPU as accelerator (and thus also GitHub's default CI). See https://github.com/MurrellGroup/PyBoltz.jl/issues/2 for tracker.
9-
107
Julia bindings for Python's [boltz](https://github.com/jwohlwend/boltz) for biomolecular structure prediction.
118

129
## Installation

test/runtests.jl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const accelerator = get(ENV, "PyBoltz_TEST_ACCELERATOR", "cpu")
1515

1616
@testset "Single structure run" begin
1717
mktempdir() do dir
18-
structure = retrievepdb("1TIT"; dir)
18+
structure = retrievepdb("1EJG"; dir)
1919
sequence = LongAA(structure["A"], standardselector)
2020
input = MolecularInput(
2121
sequences = [
@@ -34,49 +34,49 @@ const accelerator = get(ENV, "PyBoltz_TEST_ACCELERATOR", "cpu")
3434
MolecularInput(
3535
name = "Z",
3636
sequences = [
37-
protein(; id="A", sequence=randaaseq(10), msa="empty"),
37+
protein(; id="A", sequence=randaaseq(5), msa="empty"),
3838
]
3939
),
4040
MolecularInput(
4141
name = "X",
4242
sequences = [
43-
protein(; id="A", sequence=randaaseq(30), msa="empty"),
43+
protein(; id="A", sequence=randaaseq(15), msa="empty"),
4444
]
4545
),
4646
MolecularInput(
4747
name = "Y",
4848
sequences = [
49-
protein(; id="A", sequence=randaaseq(20), msa="empty"),
49+
protein(; id="A", sequence=randaaseq(10), msa="empty"),
5050
]
5151
),
5252
MolecularInput(
5353
name = "W",
5454
sequences = [
55-
protein(; id="A", sequence=randaaseq(40), msa="empty"),
55+
protein(; id="A", sequence=randaaseq(20), msa="empty"),
5656
]
5757
),
5858
]
5959
predicted_structures = predict(inputs, MolecularStructure; seed=0, accelerator)
6060
@test predicted_structures isa Vector{Union{Missing,MolecularStructure}}
6161
@test length(predicted_structures) == 4
6262
@testset "Order preservation" begin
63-
@test countresidues.(predicted_structures) == [10, 30, 20, 40]
63+
@test countresidues.(predicted_structures) == [5, 15, 10, 20]
6464
@test [predicted_structure.name for predicted_structure in predicted_structures] == ["Z", "X", "Y", "W"]
6565
end
6666
end
6767
end
6868

6969
@testset "MSA run" begin
7070
mktempdir() do dir
71-
sequence = randaaseq(15)
71+
sequence = randaaseq(5)
7272
input = MolecularInput(
7373
sequences = [
74-
protein(; id="A", sequence, msa=[sequence; [randaaseq(15) for _ in 1:10]]),
74+
protein(; id="A", sequence, msa=[sequence; [randaaseq(5) for _ in 1:10]]),
7575
]
7676
)
7777
predicted_structure = predict(input, MolecularStructure; seed=0, accelerator)
7878
@test predicted_structure isa MolecularStructure
79-
@test predicted_structure |> countresidues == 15
79+
@test predicted_structure |> countresidues == 5
8080
end
8181
end
8282

0 commit comments

Comments
 (0)