Commits

Joshua Bonsink  committed ddcd0d7

Minor changes

  • Participants
  • Parent commits 53a813f

Comments (0)

Files changed (1)

File experiments/api.py

 def experiment_factory(experiment, mode):
     """
     
-    Dynamically create an experiment object based on the chosen experiment 
+    Dynamically create an experiment class based on the chosen experiment 
     and simulation mode.  
     
     """    
         return None
     
     ExperimentClass = module.__dict__[class_name]    
-    BaseClass = MODE_MAP[mode]
+    ModeClass = MODE_MAP[mode]
     
-    class Experiment(ExperimentClass, BaseClass):
+    class Experiment(ExperimentClass, ModeClass):
         
         def __init__(self):
-            BaseClass.__init__(self)            
+            ModeClass.__init__(self)            
             ExperimentClass.__init__(self)            
         
         def setup(self):
-            BaseClass.setup(self)
+            ModeClass.setup(self)
             ExperimentClass.setup(self)                             
     
     return Experiment()