Skip to content
Snippets Groups Projects
Commit 9787ba22 authored by Alexander Heidelbach's avatar Alexander Heidelbach
Browse files

Remove non specified return

parent 3d111d71
Branches
No related tags found
No related merge requests found
......@@ -148,6 +148,9 @@ class BaseModel(ABC):
if parameter.fraction:
return self.get_modelparameter(parametername)
else:
raise KeyError("No fraction parameter can be found")
def add_constraint(
self, parameter: str, constraint: str = "GaussianConstraint", **kwargs
) -> None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment