Commit f8462747 authored by Berutti, Michael (Contractor) Charles's avatar Berutti, Michael (Contractor) Charles
Browse files

Added results_type key

parent e6aad0e0
......@@ -193,7 +193,8 @@ class SimulationParameters:
# create dictionary from the valid keys
init_values = [None] * len(valid_keys)
......@@ -399,6 +400,13 @@ class SimulationParameters:
raise ValueError('sim_name must be type str')
# Results type
elif key == "results_type":
if isinstance(value, str):
raise ValueError('results_type must be type str')
def generate_sim(self):
d = self.get_dict()
Supports Markdown
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