When terminating loops by searching for blank lines, it is better to use:
When terminating loops by searching for blank lines, it is better to use:

while line.strip():
    line = inputfile.next()

rather than:

while line!="\n":
    line = inputfile.next()

as the latter is not cross-platform (i.e. it failed on Linux when dealing with GAMESS files created on Windows).

Two changes were made to the gamessparser in this respect.



andersx/cclib,langner/cclib,gaursagar/cclib,berquist/cclib,ATenderholt/cclib,ben-albrecht/cclib,jchodera/cclib,gaursagar/cclib,Clyde-fare/cclib,berquist/cclib,cclib/cclib,Schamnad/cclib,Schamnad/cclib,Clyde-fare/cclib,andersx/cclib,ghutchis/cclib,cclib/cclib,cclib/cclib,berquist/cclib,ghutchis/cclib,langner/cclib,ben-albrecht/cclib,langner/cclib,jchodera/cclib,ATenderholt/cclib