We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa16b4f commit e96b356Copy full SHA for e96b356
1 file changed
test/runtests.jl
@@ -945,7 +945,8 @@ end
945
946
# Check complicated selections
947
@test length(collectatoms(struc, sel"name CA and (resnum < 15 or resnum > 16)")) == 1404
948
- #@test length(collectatoms(struc, sel"(name CA and resnum < 15) or (name N and chain A)")) == 299
+ @test length(collectatoms(struc, sel"protein and (chain A and resnum < 130)")) == 1050
949
+ @test length(collectatoms(struc, sel"chain A and resnum 132")) == 9 # with alternate locations
950
@test length(collectatoms(struc, sel"(not protein) and (resname HOH or (resname SOD and index < 600))")) == 639
951
@test length(collectatoms(struc, sel"not protein and not water or (chain A and resnum < 10)")) == 79
952
@test length(collectatoms(struc, sel"not protein and not water or (chain A and resnum <= 10)")) == 87
0 commit comments