From ed37f3a734c072682e9bdeff1406d473a3dc7706 Mon Sep 17 00:00:00 2001
From: vermeul <swen@ethz.ch>
Date: Mon, 29 Jan 2018 15:12:03 +0100
Subject: [PATCH] bugfix: saving sample properties

---
 src/python/PyBis/pybis/pybis.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/python/PyBis/pybis/pybis.py b/src/python/PyBis/pybis/pybis.py
index a14dc1bba33..2346c943164 100644
--- a/src/python/PyBis/pybis/pybis.py
+++ b/src/python/PyBis/pybis/pybis.py
@@ -3365,6 +3365,7 @@ class Sample():
 
         else:
             request = self._up_attrs()
+            request["params"][1][0]["properties"] = props
             self.openbis._post_request(self.openbis.as_v3, request)
             print("Sample successfully updated.")
             new_sample_data = self.openbis.get_sample(self.permId, only_data=True)
-- 
GitLab