diff --git a/cml/shared/parameter.py b/cml/shared/parameter.py index d6606fc09bf8b23daea9d765e6094b2376e98c21..8b964e68ee3e6a1430de8663c39d67d28735c47d 100644 --- a/cml/shared/parameter.py +++ b/cml/shared/parameter.py @@ -20,7 +20,11 @@ class SetFeatures: raise Exception("Fehler") elif isinstance(value, str): - self.set_features = [int(i) for i in value.split(",")] + # TODO (dmt): Try to parse the string and handle errors. + if value == "": + self.set_features = [] + else: + self.set_features = [int(i) for i in value.split(",")] else: raise Exception("Fehler")