atom select by "eleno" broken?

Issue #195 resolved
Former user created an issue

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)

  1. Lars Skjærven

    Fixed with commit 3d99f87

    Install updated version with

    library(devtools)                                                                                                             
    install_bitbucket("Grantlab/bio3d", subdir = "ver_devel/bio3d/", ref="releases")
    
  2. Log in to comment