diff --git a/src/caosadvancedtools/models/parser.py b/src/caosadvancedtools/models/parser.py index 27505329a498b5688a7a0d1844675028c44b1cf8..fb8f75abea2e48a0a2e983d292f1cf8e2a53190d 100644 --- a/src/caosadvancedtools/models/parser.py +++ b/src/caosadvancedtools/models/parser.py @@ -352,14 +352,14 @@ debug : bool, optional model_prop = self.model[prop.name] # The information must be missing, we don't want to overwrite it accidentally: if prop.datatype is not None and prop.datatype != model_prop.datatype: - # breakpoint() - raise RuntimeError("datatype must not be set, here. This is probably a bug.") + continue + # TODO: Data type overwrite is allowed here (because + # of lists), but this might change in the future. + # raise RuntimeError("datatype must not be set, here. This is probably a bug.") if prop.unit is not None and prop.unit != model_prop.unit: - # continue - raise RuntimeError("unit must not be set, here. This is probably a bug.") + continue if prop.description is not None and prop.description != model_prop.description: - # continue - raise RuntimeError("description must not be set, here. This is probably a bug.") + continue # If this property has a more detailed definition in the model, # copy over the information: