Skip to content

Commit 7e0f427

Browse files
committed
update news, bump version
1 parent 211f4aa commit 7e0f427

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

NEWS.md

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

3+
## v4.4.0 - Feb 2025
4+
5+
* Selection strings now support interpolation.
6+
37
## v4.3.0 - Nov 2024
48

59
* Selection strings are made much faster.

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.3.0"
4+
version = "4.4.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
@@ -450,11 +450,10 @@ end
450450

451451
Base.show(io::IO, ::MIME"text/plain", s::Select) = print(io, """Select("$(s.query_string)")""")
452452

453-
#
454453
# Parse selection string allowing interpolation in sel macro:
455454
# https://discourse.julialang.org/t/str-string-interpolation/125766/11?u=lmiq
456-
#
457455
_select(args...) = Select(string(args...))
456+
458457
"String selection syntax."
459458
macro sel_str(s)
460459
ex = Expr(:call, GlobalRef(BioStructures, :_select))

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ end
928928
@test length(collectatoms(struc, sel"disordered")) == 68
929929
@test length(collectatoms(struc, sel"sscode E")) == 2448
930930
@test length(collectatoms(struc, sel"helix")) == 4047
931-
# check interpolation support
931+
# Check interpolation support
932932
ss_type = "helix"
933933
@test length(collectatoms(struc, sel"$ss_type")) == 4047
934934
sel_chains = ('A', 'B')

0 commit comments

Comments
 (0)