def run(self):
    self.initialized = True
    sim_start = time.time()
    print(('Running a simulation of %sms (dt = %sms; seed=%s)' % (h.tstop, h.dt, self.seed)))
    h.run()
    self.sim_end = time.time()
    sim_time = (self.sim_end - sim_start)
    print(('Finished NEURON simulation in %f seconds (%f mins)...' % (sim_time, (sim_time / 60.0))))
    self.save_results()
def run(self):
    self.initialized = True
    sim_start = time.time()
    print(('Running a simulation of %sms (dt = %sms; seed=%s)' % (h.tstop, h.dt, self.seed)))
    h.run()
    self.sim_end = time.time()
    sim_time = (self.sim_end - sim_start)
    print(('Finished NEURON simulation in %f seconds (%f mins)...' % (sim_time, (sim_time / 60.0))))
    self.save_results()