old_code/current_load.py
def slurpState(self, dir):
        """Read state vectors for specified loads.
        """
        svrdbPath = dir + '/' + dir[-8:] + '.svrdb'
        with open(svrdbPath) as svrdb:
            self.svrdb = [t.rstrip() for t in svrdb]
        self.currentStateIndex = CurrentLoad.startIndex
        self.currentLoads = dir
        self.nextLoads = None
Read state vectors for specified loads.
        
Read state vectors for specified loads.
Read state vectors for specified loads .
def slurpState(self, dir):
        svrdbPath = dir + '/' + dir[-8:] + '.svrdb'
        with open(svrdbPath) as svrdb:
            self.svrdb = [t.rstrip() for t in svrdb]
        self.currentStateIndex = CurrentLoad.startIndex
        self.currentLoads = dir
        self.nextLoads = None
def slurpState ( self , dir ) : svrdbPath = dir + '/' + dir [ - 8 : ] + '.svrdb' with open ( svrdbPath ) as svrdb : self . svrdb = [ t . rstrip ( ) for t in svrdb ] self . currentStateIndex = CurrentLoad . startIndex self . currentLoads = dir self . nextLoads = None
Read state vectors for specified loads.
Read state vectors for specified loads .
"""Read state vectors for specified loads.
        """
self
dir