Added dictionary type for input formats
@@ -95,6 +95,11 @@ def to_custom_types(dictionary, types, default):
raise exceptions.NoDefaultValueException(k)
dictionary[k] = default[k].copy()
+ elif v == 'dict':
+ if not isinstance(dictionary[k], dict):
+ raise TypeError
+
+
def load_config_file(file_name: str) -> dict:
"""This function reads the flight condition and solver input files.
