Fix name validator
@@ -205,7 +205,7 @@ class RestraintState(GlobalParameterState):
lambda_restraints = GlobalParameterState.GlobalParameter('lambda_restraints', standard_value=1.0)
@lambda_restraints.validator
- def lambda_restraints_validator(self, instance, new_value):
+ def lambda_restraints(self, instance, new_value):
if new_value is None:
return None
if not (0.0 <= new_value <= 1.0):
