Skip to content
Snippets Groups Projects
Commit 11921bfd authored by yvesn's avatar yvesn
Browse files

SSDM-7140: re-enabled addref / removeref command when using obis_metadata_folder

parent 6476c0ef
No related branches found
No related tags found
No related merge requests found
......@@ -11,8 +11,6 @@ class Addref(OpenbisCommand):
"""
def __init__(self, dm):
if dm.data_path != dm.metadata_path:
raise CommandException(CommandResult(returncode=-1, output='Addref not supported with obis_metadata_folder.'))
super(Addref, self).__init__(dm)
......
......@@ -12,8 +12,6 @@ class Removeref(OpenbisCommand):
"""
def __init__(self, dm, data_set_id=None):
if dm.data_path != dm.metadata_path:
raise CommandException(CommandResult(returncode=-1, output='Removeref not supported with obis_metadata_folder.'))
self._data_set_id = data_set_id
self.load_global_config(dm)
super(Removeref, self).__init__(dm)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment