Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)

src/b/i/biskit-2.4/Biskit/PDBParseFile.py   biskit(Download)
import Biskit.tools as T
import Biskit.BioUnit as BU
from Biskit.PDBParser import PDBParser, PDBParserError
 
 
        except:
            msg = self.__xplorAtomIndicesTest( source ) or ' '
            raise PDBParserError('Cannot read ' + str(source) + ' as PDB\n'\
                           '\ERROR: ' + T.lastError() + msg)
 
 
        except:
            raise PDBParserError("Error parsing file "+fname+": " \
                                 + T.lastError())
        try:
 
        if len( xyz ) == 0:
            raise PDBParserError("Error parsing file "+fname+": "+
                            "Couldn't find any atoms.")