Commit 4e23fbb0 authored by Matthias Bernt's avatar Matthias Bernt
Browse files

Revert "set metadata default to no_value if default is None"

This reverts commit dff9d408.
parent dff9d408
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -347,9 +347,6 @@ class MetadataElementSpec:
                 visible=True, set_in_upload=False, **kwargs):
        self.name = name
        self.desc = desc or name
        if default is None and no_value is not None:
            self.default = no_value
        else:
        self.default = default
        self.no_value = no_value
        self.visible = visible