atom select by "eleno" broken?
Issue #195
resolved
Hi Folks,
Just yesterday downloaded 2.2 for the first time. It appears that selection by atom number is broken:
atom.select(read.pdb("1ogw",verbose=FALSE),eleno=1)
Note: Accessing on-line PDB file
PDB has ALT records, taking A only, rm.alt=TRUE
Error in .match.elety(pdb, eleno) : 'elety' must be a character vector
Looking at the atom.select source:
if(!is.null(eleno)) {
L <- .match.elety(pdb, eleno)
Shouldn't the call be to .match.eleno instead of .match.elety?
Thanks.
Alfredo Freites
Comments (4)
-
-
Fixed with commit 3d99f87
Install updated version with
library(devtools) install_bitbucket("Grantlab/bio3d", subdir = "ver_devel/bio3d/", ref="releases")
-
You're welcome, Lars. Thanks for the prompt reply.
Alfredo
-
- changed status to resolved
- Log in to comment
Hi Alfredo, You are absolutely right. Updating asap. Thanks for reporting. L