From: <ate...@us...> - 2006-05-19 21:51:13
|
Revision: 133 Author: atenderholt Date: 2006-05-19 14:43:32 -0700 (Fri, 19 May 2006) ViewCVS: http://svn.sourceforge.net/cclib/?rev=133&view=rev Log Message: ----------- Fixed CSPA, I think. Still need to check to make sure the calculations are correct. Modified Paths: -------------- trunk/src/cclib/method/population.py Modified: trunk/src/cclib/method/population.py =================================================================== --- trunk/src/cclib/method/population.py 2006-05-19 21:13:29 UTC (rev 132) +++ trunk/src/cclib/method/population.py 2006-05-19 21:43:32 UTC (rev 133) @@ -20,14 +20,17 @@ import re,time import Numeric import random # For sometimes running the progress updater +import logging + from calculationmethod import Method class Population(Method): """A base class for all population-type methods""" - def __init__(self,*args): + def __init__(self,parser,progress=None, \ + loglevel=logging.INFO,logname="Log"): # Call the __init__ method of the superclass - super(Population, self).__init__(logname="Population",*args) + super(Population, self).__init__(parser,progress,loglevel,logname) self.fragresults=None def __str__(self): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |