Added results_type key

parent e6aad0e0
......@@ -193,7 +193,8 @@ class SimulationParameters:
'varying_dd',
'density',
'diameter',
'sim_name']
'sim_name',
'results_type']
# create dictionary from the valid keys
init_values = [None] * len(valid_keys)
......@@ -399,6 +400,13 @@ class SimulationParameters:
else:
raise ValueError('sim_name must be type str')
# Results type
elif key == "results_type":
if isinstance(value, str):
return
else:
raise ValueError('results_type must be type str')
def generate_sim(self):
d = self.get_dict()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment