diff --git a/pybis/src/python/CHANGELOG.md b/pybis/src/python/CHANGELOG.md index 426b9c62b8b4186014e688449af79a27008dbfea..46ed388bea94c935b551f7bd5f3d25ae19085ea0 100644 --- a/pybis/src/python/CHANGELOG.md +++ b/pybis/src/python/CHANGELOG.md @@ -1,3 +1,9 @@ +## Changes with pybis-1.8.0 + +* better support for fetching entity-types (dataSetTypes, sampleTypes) +* separation of propertyAssignments from entity-types +* added .get_propertyAssignments() method to all entity-types + ## Changes with pybis-1.7.6 * bugfix dataset upload for relative files (e.g. ../../file or /User/username/file) diff --git a/pybis/src/python/README.md b/pybis/src/python/README.md index a5227766d19375126b193760ed40da217b837646..999cc7c1d9914643ee05ef305e72fc3219a00763 100644 --- a/pybis/src/python/README.md +++ b/pybis/src/python/README.md @@ -19,12 +19,22 @@ o.logout() ## Masterdata ``` o.get_experiment_types() +et = o.get_experiment_type('TEST') +et.get_propertyAssignments() + o.get_sample_types() -o.get_sample_type('YEAST') +st = o.get_sample_type('YEAST') +et.get_propertyAssignments() + o.get_material_types() +mt = o.get_material_type('GENE') +mt.get_propertyAssignments() + o.get_dataset_types() -o.get_dataset_types()[0] -o.get_dataset_type('RAW_DATA') +dst = o.get_dataset_types()[0] +dst = o.get_dataset_type('RAW_DATA') +dst.get_propertyAssignments() + o.get_vocabularies() o.get_vocabulary('BACTERIAL_ANTIBIOTIC_RESISTANCE') o.get_terms(vocabulary='STORAGE') diff --git a/pybis/src/python/pybis/__init__.py b/pybis/src/python/pybis/__init__.py index a95468fb652c43c8a6ed8dd4afd97bfaf2714d7e..71d37fd9edda7328a4ac2cefa2bee77b037dd8fe 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.7.6' +__version__ = '1.8.0' from . import pybis from .pybis import Openbis diff --git a/pybis/src/python/setup.py b/pybis/src/python/setup.py index 73e35bb94fdf8f6a284f009960cce45aecfe3abe..523368bb8e1799be29fa6afd27c51104468283ab 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.7.6', + version= '1.8.0', author='Swen Vermeul | ID SIS | ETH Zürich', author_email='swen@ethz.ch', description='openBIS connection and interaction, optimized for using with Jupyter',