BUG: a code snippet from nma.Rd example got error

Issue #55 resolved
Xinqiu Yao created an issue

Is it a bug?

pdb <- read.pdb("1xj0", het2atom=TRUE)
modes <- nma(pdb, mass.custom=list(CSX=121.166))
#Error in aa2mass(pdb = c("MET", "THR", "GLU", "TYR", "LYS", "LEU", "VAL",  : 
#  duplicate residue name(s) provided

Comments (4)

  1. Lars Skjærven

    should now spit out a warning instead. we need a new example here to demonstrate this since the most common non-standard residue names are now included in the mass matrix.

  2. Log in to comment