hotfix: parameters not saved
@@ -47,11 +47,11 @@ class Sim(cvb.BaseSim):
super().__init__(default_pars) # Initialize and set the parameters as attributes
# Set attributes
- self.label = None # The label/name of the simulation
+ self.label = label # The label/name of the simulation
self.created = None # The datetime the sim was created
- self.simfile = None # The filename of the sim
- self.datafile = None # The name of the data file
- self.popfile = None # The population file
+ self.simfile = simfile # The filename of the sim
+ self.datafile = datafile # The name of the data file
+ self.popfile = popfile # The population file
self.data = None # The actual data
self.popdict = None # The population dictionary
self.t = None # The current time in the simulation
