From: <bao...@us...> - 2006-03-15 22:01:27
|
Revision: 23 Author: baoilleach Date: 2006-03-15 14:01:17 -0800 (Wed, 15 Mar 2006) ViewCVS: http://svn.sourceforge.net/cclib/?rev=23&view=rev Log Message: ----------- A simple test to enure that Numeric arrays are used instead of lists Added Paths: ----------- trunk/test/easyparse.py Added: trunk/test/easyparse.py =================================================================== --- trunk/test/easyparse.py (rev 0) +++ trunk/test/easyparse.py 2006-03-15 22:01:17 UTC (rev 23) @@ -0,0 +1,10 @@ +import os +from cclib.parser import G03 + +t = G03(os.path.join("..","data","Gaussian","dvb_gopt.out")) +t.parse() + +for x in ['scftargets','geotargets','scfvalues','geovalues']: + print x + t.__getattribute__(x)+1 + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |