Skip to content

Commit

Permalink
Merge c229aaa into 2b9a213
Browse files Browse the repository at this point in the history
  • Loading branch information
pwrose committed May 14, 2018
2 parents 2b9a213 + c229aaa commit aa02579
Showing 1 changed file with 2 additions and 4 deletions.
Expand Up @@ -126,9 +126,7 @@ public void testReadFromReducedUrl() throws IOException, ParseException {
MmtfStructure mmtfBean = ReaderUtils.getDataFromUrl("4CUP", true, true);
assertNotEquals(mmtfBean, null);
assertEquals(mmtfBean.getDepositionDate(), "2014-03-21");
// Actual number of atoms is 24 ligand atoms + 115 CA = 139 atoms.
// Problem: residue A1945 has two alternate locations for the side chain, however, there is only 1 CA location.
assertEquals(mmtfBean.getNumAtoms(), 140);
assertEquals(mmtfBean.getNumAtoms(), 139);
assertEquals(mmtfBean.getNumBonds(), 21);
}

Expand All @@ -141,7 +139,7 @@ public void testReadFromReducedHttpsUrl() throws IOException, ParseException {
MmtfStructure mmtfBean = ReaderUtils.getDataFromUrl("4CUP", true, true);
assertNotEquals(mmtfBean, null);
assertEquals(mmtfBean.getDepositionDate(), "2014-03-21");
assertEquals(mmtfBean.getNumAtoms(), 140);
assertEquals(mmtfBean.getNumAtoms(), 139);
assertEquals(mmtfBean.getNumBonds(), 21);
}
}

0 comments on commit aa02579

Please sign in to comment.