diff --git a/nf_core/schema.py b/nf_core/schema.py index fddf6d050b..53a687f674 100644 --- a/nf_core/schema.py +++ b/nf_core/schema.py @@ -114,7 +114,8 @@ def sanitise_param_default(self, param): # For everything else, an empty string is an empty string if isinstance(param["default"], str) and param["default"].strip() == "": - return "" + param["default"] = "" + return param # Integers if param["type"] == "integer":