def _testPrintSequenceFromPdbFile(self): entryId = "1brv" # Small much studied PDB NMR entry # entryId = "1hy8" # small, single model, very low scoring entry pdbDirectory = os.path.join(cingDirTestsData,"pdb", entryId) pdbFileName = "pdb"+entryId+".ent" fn = os.path.join( pdbDirectory, pdbFileName) self.failIf( os.chdir(cingDirTmp), msg= "Failed to change to directory for temporary test files: "+cingDirTmp) self.assertFalse(printSequenceFromPdbFile(fn))
def reportDifference(ccpnProject, fn): printSequenceFromCcpnProject(ccpnProject) printSequenceFromPdbFile(fn)