def test_parseSSData_2(): """ Calling parseSSData after setting the readOption to parse HELIX, STRAND, TURN, etc...""" from MolKit.pdbParser import PdbParser parser = PdbParser('Data/1crn.pdb') parser.SetReadOptions('HELIX') parser.SetReadOptions('SHEET') parser.SetReadOptions('TURN') mols = parser.parse() assert parser.recordInfo.has_key('HELIX') assert parser.recordInfo.has_key('SHEET') assert parser.recordInfo.has_key('TURN') ssDataForMol = parser.parseSSData(mols[0])
def test_parseSSData_2(): """ Calling parseSSData after setting the readOption to parse HELIX, STRAND, TURN, etc...""" from MolKit.pdbParser import PdbParser parser = PdbParser('Data/1crn.pdb') parser.SetReadOptions('HELIX') parser.SetReadOptions('SHEET') parser.SetReadOptions('TURN') mols = parser.parse() assert parser.recordInfo.has_key('HELIX') assert parser.recordInfo.has_key('SHEET') assert parser.recordInfo.has_key('TURN') ssDataForMol = parser.parseSSData(mols[0])
def test_parseSSData(): from MolKit.pdbParser import PdbParser parser = PdbParser('Data/1crn.pdb') mols = parser.parse() ssDataForMol = parser.parseSSData(mols[0])
def test_parseSSData(): from MolKit.pdbParser import PdbParser parser = PdbParser('Data/1crn.pdb') mols = parser.parse() ssDataForMol = parser.parseSSData(mols[0])