Skip to content
Snippets Groups Projects
Commit 9f115c5b authored by Swen Vermeul's avatar Swen Vermeul
Browse files

proper attribute names in function call)

parent 0339056c
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,7 @@ class Space(OpenBisObject): ...@@ -57,7 +57,7 @@ class Space(OpenBisObject):
return self.openbis.new_sample(space=self, **kwargs) return self.openbis.new_sample(space=self, **kwargs)
def delete(self, reason): def delete(self, reason):
self.openbis.delete_entity('Space', self.permId, reason) self.openbis.delete_entity(entity='Space', id=self.permId, reason=reason)
if VERBOSE: print("Space {} has been sucsessfully deleted.".format(self.permId)) if VERBOSE: print("Space {} has been sucsessfully deleted.".format(self.permId))
def save(self): def save(self):
......
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