diff --git a/HD_BET/config.py b/HD_BET/config.py index 1315a7e..870951e 100755 --- a/HD_BET/config.py +++ b/HD_BET/config.py @@ -31,7 +31,7 @@ def preprocess(self, data): def __repr__(self): res = "" for v in vars(self): - if not v.startswith("__") and not v.startswith("_") and v is not 'dataset': + if not v.startswith("__") and not v.startswith("_") and v != 'dataset': res += (v + ": " + str(self.__getattribute__(v)) + "\n") return res