Skip to content

Commit e96b356

Browse files
committed
adjust test for residues with alternate conformations
1 parent aa16b4f commit e96b356

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/runtests.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,8 @@ end
945945

946946
# Check complicated selections
947947
@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
948+
@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
949950
@test length(collectatoms(struc, sel"(not protein) and (resname HOH or (resname SOD and index < 600))")) == 639
950951
@test length(collectatoms(struc, sel"not protein and not water or (chain A and resnum < 10)")) == 79
951952
@test length(collectatoms(struc, sel"not protein and not water or (chain A and resnum <= 10)")) == 87

0 commit comments

Comments
 (0)