Bug: pdb.annotate()

Issue #50 resolved
Xinqiu Yao created an issue
pdbs.anno <- pdb.annotate("2XNS")
#trying URL 'http://www.rcsb.org/pdb/rest/customReport?pdbids=2XNS&customReportColumns=structureId,experimentalTechnique,resolution,chainId,ligandId,ligandName,source,scopDomain,classification,compound,title,citationAuthor,journalName,publicationYear&ssa=n&primaryOnly=1'
#Content type 'text/xml;charset=ISO-8859-1' length 6716 bytes
#opened URL
#==================================================
#downloaded 6716 bytes

#Error in tmp3[pdb.ids %in% unq.ids, ] : incorrect number of dimensions

Comments (2)

  1. Xinqiu Yao reporter
    • The reason is that some PDB IDS have empty (character(0)) value in some of the default terms, which causes the failure of converting a list to a matrix
      • Fixed by replacing character(0) with ""
  2. Log in to comment