Skip to content

Commit 2a072a0

Browse files
committed
update news, bump version
1 parent 95d049d commit 2a072a0

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

NEWS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# BioStructures.jl release notes
22

3+
## v4.6.0 - Jun 2025
4+
5+
* The selection syntax now supports parentheses and multiple names as a shortcut for "or" clauses.
6+
* Standard protein bond lengths and angles are available as `bondlengths` and `bondangles`.
7+
38
## v4.5.0 - May 2025
49

510
* `chiangle` and `chiangles` are added to calculate the sidechain dihedral angles in protein residues.

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "BioStructures"
22
uuid = "de9282ab-8554-53be-b2d6-f6c222edabfc"
33
authors = ["Joe G Greener <jgreener@hotmail.co.uk>"]
4-
version = "4.5.0"
4+
version = "4.6.0"
55

66
[deps]
77
BioGenerics = "47718e42-2ac5-11e9-14af-e5595289c2ea"

src/select.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,6 @@ const macro_keywords = [
573573
parse_query(selection:String)
574574
575575
Calls `parse_query_vector` after splitting the selection string.
576-
577576
=#
578577
function parse_query(selection::String)
579578
s = replace(selection, "(" => " ( ", ")" => " ) ")
@@ -774,4 +773,4 @@ function parse_query_vector(s_vec_const::AbstractVector{<:AbstractString})
774773

775774
parse_error("Unknown keyword or invalid syntax at: '$(join(s_vec, " "))'")
776775
end
777-
end
776+
end

test/runtests.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -986,8 +986,6 @@ end
986986
@test_throws ArgumentError collectatoms(struc, sel"residue")
987987
@test_throws ArgumentError collectatoms(struc, sel"element")
988988
@test_throws ArgumentError collectatoms(struc, sel"not")
989-
990-
991989
end
992990

993991
@testset "PDB reading" begin

0 commit comments

Comments
 (0)