diff --git a/pybis/src/python/CHANGELOG.md b/pybis/src/python/CHANGELOG.md index dcf59acc3a2fea71b53da40664362234f51dbe40..65780e1c3229766f7c437d61bbc9c3e14aad2403 100644 --- a/pybis/src/python/CHANGELOG.md +++ b/pybis/src/python/CHANGELOG.md @@ -1,3 +1,7 @@ +## Changes with pybis-1.10.5 + +* bugfix: creating projects + ## Changes with pybis-1.10.4 * better error messages when downloading files from datastore server diff --git a/pybis/src/python/pybis/__init__.py b/pybis/src/python/pybis/__init__.py index 57e35f83d5ad77c00560ccaef1fda1f3dd9ef304..b32640e14eb86cdae51770e108b4ec2c96595e85 100644 --- a/pybis/src/python/pybis/__init__.py +++ b/pybis/src/python/pybis/__init__.py @@ -1,7 +1,7 @@ name = 'pybis' __author__ = 'Swen Vermeul' __email__ = 'swen@ethz.ch' -__version__ = '1.10.4' +__version__ = '1.10.5' from . import pybis from .pybis import Openbis diff --git a/pybis/src/python/pybis/property.py b/pybis/src/python/pybis/property.py index 3ff850ac2db35e22435ba16940ac59b6f1f154fd..046035e5d863395e41a0efb4a2a07dcd8e352880 100644 --- a/pybis/src/python/pybis/property.py +++ b/pybis/src/python/pybis/property.py @@ -26,6 +26,8 @@ class PropertyHolder(): def _all_props(self): props = {} + if not getattr(self, '_type'): + return props for code in self._type.codes(): props[code] = getattr(self, code) return props diff --git a/pybis/src/python/setup.py b/pybis/src/python/setup.py index 38b7ca5d4be0edf31e457f9ee6469081bdc19143..fa03f4206c4959f4af6f9a56478d2287959c2e4f 100644 --- a/pybis/src/python/setup.py +++ b/pybis/src/python/setup.py @@ -11,7 +11,7 @@ with open("README.md", "r", encoding="utf-8") as fh: setup( name='PyBIS', - version= '1.10.4', + version= '1.10.5', author='Swen Vermeul • ID SIS • ETH Zürich', author_email='swen@ethz.ch', description='openBIS connection and interaction, optimized for using with Jupyter',