From b066445d753ace9d0233caae5859d6ba285d7f59 Mon Sep 17 00:00:00 2001 From: vermeul <swen@ethz.ch> Date: Fri, 6 Dec 2019 16:53:02 +0100 Subject: [PATCH] bugfix: .props should behave the same as .p --- pybis/src/python/pybis/experiment.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pybis/src/python/pybis/experiment.py b/pybis/src/python/pybis/experiment.py index b003643f29e..a1d9839187f 100644 --- a/pybis/src/python/pybis/experiment.py +++ b/pybis/src/python/pybis/experiment.py @@ -35,6 +35,10 @@ class Experiment( 'save()' ] + super().__dir__() + @property + def props(self): + return self.__dict__['p'] + @property def type(self): return self.__dict__['type'] -- GitLab