Skip to content
Snippets Groups Projects
CHANGELOG.md 15 KiB
Newer Older
  • Learn to ignore specific revisions
  • ## Changes with pybis-1.35.6
    
    - Added metaData attribute handling for sample, sampleType, experiment, experimentType, dataset, datasetType
    
    
    ## Changes with pybis-1.35.5
    
    - Implementation of array-type properties handling
    - Fixed assignment of dynamic property plugins to property types 
    
    
    
    ## Changes with pybis-1.35.4
    
    
    - Changes to internal implementation of data set download/upload to use OpenBIS V3 API
    - Added TIMESTAMP property reformatting to fit formats supported by OpenBIS
    
    ## Changes with pybis-1.35.3
    
    - Modified set_token() method to accept PersonalAccessToken object
    - Minor code refactoring
    
    
    ## Changes with pybis-1.35.2
    
    - Added rising an error when re-login fails
    
    
    Adam Laskowski's avatar
    Adam Laskowski committed
    ## Changes with pybis-1.35.1
    
    - fix overriding parents/children when performing update using results from get_samples call
    
    
    ## Changes with pybis-1.35.0
    
    - removal of deprecated 'cli'
    - removal of 'click' dependency
    - update of contact information
    
    
    - new option 'permanently' in the delete method in openbis_object.py
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.34.2
    
    - fix syslog error
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.34.1
    
    - better handling of configuration
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.34.0
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - better error handling when connecting to openBIS server
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - add experimental support for datasets via cli
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.33.2
    
    - fix openbis.support.email key error
    - raise error if invalid token is passed to constructor
    - show more attributes for spaces and projects
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.33.0
    
    - add support for personal access tokens (PAT)
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - fix default dataset kind (was PHYSICAL_DATA instead of PHYSICAL)
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - refactor existing pyBIS code
    
    
    ## Changes with pybis-1.32.1
    
    - fixing the issue with incorrectly named reference to DataSetKind.PHYSICAL
    
    ## Changes with pybis-1.32.0
    
    - throw error when invalid token is assigned
    - to not show an error message if stored token is invalid (just do not use it)
    
    - fixed a bug which led to missing parents and children
    
    ## Changes with pybis-1.31.6
    
    - automatically setting the project if only experiment was set
    
    
    ## Changes with pybis-1.31.5
    
    - optimised error generation without assert
    
    
    ## Changes with pybis-1.31.4
    
    - fix another exception when saving a sample with custom code
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.31.3
    
    - fix exception in sample.save
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.31.1
    
    - fixed a file download problem when filename contained special characters (e.g. #)
    
    
    ## Changes with pybis-1.31.0
    
    - new entity-type methods: get_next_code() and get_next_sequence()
    - allow to set code manually for samples of sampleType with autoGeneratedCode=True
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.30.4
    
    - fixed and optimised (deprecated) download_attachments()
    
    
    vkovtun's avatar
    vkovtun committed
    ## Changes with pybis-1.30.3
    
    vkovtun's avatar
    vkovtun committed
    - Another code fix for create_data_frame() in pybis.py to make group ID and user ID separate
    
    vkovtun's avatar
    vkovtun committed
    ## Changes with pybis-1.30.2
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    
    - Possible issue fixes with data frame in create_data_frame() in entity_type.py
    
    vkovtun's avatar
    vkovtun committed
    - Code fix for create_data_frame() in pybis.py to make group ID and user ID separate
    
    vkovtun's avatar
    vkovtun committed
    ## Changes with pybis-1.30.1
    
    vkovtun's avatar
    vkovtun committed
    - fixed KeyError when creating an empty data frame
    
    Juan Fuentes's avatar
    Juan Fuentes committed
    ## Changes with pybis-1.30.0
    
    Juan Fuentes's avatar
    Juan Fuentes committed
    - session management reworked
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.20.5
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - fixed same problems as 1.20.5
    - wrong version published
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.20.4
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - fixed parents/children problem when get_samples(), get_datasets()
    - sorted imports
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.20.3
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - deactivated debugging logs
    - creation of property type accets vocabulary object
    
    ## Changes with pybis-1.20.2
    
    - fixed omitted function parameter which could cause issues
    
    ## Changes with pybis-1.20.1
    
    - improved search performance
    
    - introduced lazy loading for Things.df and Things.objects, so all necessary, and potentially
      costly, computation takes place only when the user requests those properties
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.20.0
    
    - metadata for property_types can now be changed to:
    
        - {'custom_widget' : 'Word Processor'}
        - {'custom_widget' : 'Spreadsheet'}
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - added documentation how to change the ELN settings
    - removed deprecated update_sample()
    - removed deprecated update_experiment()
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.19.1
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - add set_token() method to set a token and also store it locally
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.19.0
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - added caching for get_experiment
    - included OR when providing codes/permIds for samples and datasets
    - improved documentation
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - fixed property assigning problem with newly created entity types
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.18.12
    
    - fixed rel_file_links, prepended /
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.18.11
    
    - added rel_file_links to datasets for embedding in ELN-LIMS
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.18.10
    
    - added deprecation warnings for components/containers and attachments
    - added download_path and file_links to datasets
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.18.9
    
    - fixed problem when searching for experiments
    
    
    ## Changes with pybis-1.18.8
    
    - fixed problem with 20.10 releases where samples could not be found using the permId
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.18.7
    
    - fixed entity_type caching problem
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.18.6
    
    - fixed create samples bug
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - fixed zip upload bug
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.18.5
    
    - fixed deref bug for container
    - added set and get methods for properties
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.18.4
    
    - fixed bug in returning identifiers (thanks, Fabian!)
    
    
    ## Changes with pybis-1.18.3
    
    - prevent other users to read the saved token (chmod 600)
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - fixed various pylint issues
    
    - fixed «session no longer valid» message
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - fixed search issues
    
    ## Changes with pybis-1.18.2
    
    - added deletion to transaction
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.18.1
    
    - fixed del_parents() bug accidentally introduced in 1.18.0
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.18.0
    
    - speed improvement when searching for samples and dataSets and then cycling through the results
    - implemented search for number comparison, date comparison, string comparison (<, >, <=, >=)
    - implemented search for parents identities and properties
    - fixed minor bugs when connecting
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.17.4
    
    - fixed another vocabularies update bug
    - extended tests
    - extended documentation
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.17.3
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    
    - fixed vocabularies bug
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - fixed updating vocabularies
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.17.1
    
    - fixed datastore bug
    
    
    ## Changes with pybis-1.17.0
    
    - added caching for often used but rarely updated openBIS objects.
    - if you need to create a lot of Samples, this will improve your speed a lot
    - by default, caching is enabled
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.16.2
    
    - transaction.commit() now updates all added samples with their respective permIds
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.16.1
    
    - new_dataset bugfix
    
    
    ## Changes with pybis-1.16.0
    
    - added support for batch creation of samples
    - changed Python minimum requirement to Python 3.6
    
    - new vocabulary and new property_type: internalNameSpace was removed
    - this will cause possible incompatibilities with older versions of openBIS (< 20.10.x)
    
    ## Changes with pybis-1.15.1
    
    - added support for date-searching
    
    - bugfix in property-searching
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.14.10
    
    - bugfix when deleting dataSets
    - some improvements with the documentation
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.14.9
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    
    - quick fix of parse_jackson error in special circumstances
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.14.7
    
    - bugfix: no longer any error in get_samples(), get_datasets() and get_experiments() when
      properties are provided but no data was found
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.14.6
    
    - bugfix duplicate property-columns in get_samples() and get_datasets()
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.14.5
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - no automagic detection of mountpoint, because of Windows incompatibilities
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.14.4
    
    - added new convenience methods: get_experiments, get_projects etc.
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.14.3
    
    - small bugfix: prevent error
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.14.2
    
    - properties can be provided with either upper or lowercase
    - bugfix of duplicate property columns
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.14.1
    
    - small bugfix
    
    
    ## Changes with pybis-1.14.0
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - use props="\*" to get all properties of all samples or datasets
    
    ## Changes with pybis-1.13.0
    
    - added symlink() method for datasets to automatically create symlinks
    - added `is_symlink()` and `is_physical()` methods for dataSets
    - new `o.download_prefix` attribute for `download()` and `symlink()`
    - `download_prefix` defaults to `data/openbis-hostname`
    
    
    ## Changes with pybis-1.12.4
    
    - fixed a bug which occured on some opeBIS instances when retrieving samples
    
    
    ## Changes with pybis-1.12.3
    
    
    - datasets, samples and experiments now successfully return project and space attributes
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.12.0
    
    - added possibility to get any additional attributes in the get_samples() method
    - added possibility to get any additional attributes in the get_dataSets() method
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - added automatically accepting host key, otherwise mount() will hang the first time
    
    ## Changes with pybis-1.11.0
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - implemented mount() and unmount() methods to mount openBIS dataStore server via SSHFS and FUSE
    - implemented is_mounted() and get_mountpoint() methods
    - added instructions how to install FUSE/SSHFS on Unix systems
    
    ## Changes with pybis-1.10.8
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - dataSets of kind CONTAINER now also allow download of files
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.10.7
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - made download work, even downloadUrl attribute is missing in dataSets
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - added possibility to download files without /original/DEFAULT folders
    
    ## Changes with pybis-1.10.5
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - bugfix: creating projects
    
    ## Changes with pybis-1.10.4
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - better error messages when downloading files from datastore server
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.10.3
    
    
    - print warning message when downloaded file-size does not match with promised file-size. Do not
      die.
    
    ## Changes with pybis-1.10.2
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - typo bugfix
    
    ## Changes with pybis-1.10.1
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - fixed a nasty threading bug: open threads are now closed when downloading or uploading datasets
    - this bugfix avoids this RuntimeError: cannot start new thread
    
    ## Changes with pybis-1.10.0
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - dataSet upload now supports zipfiles
    - dataSet upload now supports files and folders
    
    - different behaviour when providing a folder: files are no longer flattened out, structure is kept
      intact
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.9.8
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - new: create and update Dateset Types
    - new: create and update Experiment Types
    - new: create and update Material Types
    - many bugfixes
    - extended documentation about creating these entity types
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    
    
    ## Changes with pybis-1.9.7
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - bugfix for creating propertyTypes of type controlled vocabulary and material
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.9.6
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - bugfix when vocabulary attribute was not identical to the code of the aassigned property type
    
    ## Changes with pybis-1.9.5
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - bugfixes: get_property_assignments() method fixed for dataSet-, experiment- and materialTypes
    
    ## Changes with pybis-1.9.4
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - bugfix when searching for experiments or datasets of a given type
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.9.3
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - fixed documentation: add_members (not add_persons)
    - bugfix role assignments of groups
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.9.2
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - searches for datasets and samples are highly improved
    - search parameters can accept a code, an identifier or an openbis entity
    - searching for all datasets in a project now works
    - bugfixes
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.9.1
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - bugfix: controlled vocabulary
    
    ## Changes with pybis-1.9.0
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - new: search, create, update and delete Property Types
    - new: search, create, update and delete Plugins
    - new: create and update Sample Types
    - freeze entities to prevent changes
    - added more tests
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.8.5
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - changed to v3 API when fetching datastores
    - gen_permId to generate unique permIds used for dataSets
    - support ELN-LIMS style identifiers: /SPACE/PROJECT/COLLECTION/OBJECT_CODE
    - terms now can be moved either to the top or after another term
    
    ## Changes with pybis-1.8.4
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - totalCount attribute added in every Things object
    - totalCount will return the total number of elements matching a search
    - bugfix in get_semantic_annotation method
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.8.3
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - new method for attributes: .attrs.all() will return a dict, much like .props.all()
    - attributes like registrator and modifier are now returned by default
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.8.2
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - added key-lookup and setting for properties that contain either dots or dashes
    - sample.props['some-weird.property-name'] = "some value"
    - check for mandatory properties in samples (objects), datasets and experiments (collections)
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.8.1
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - revised documentation
    - improved DataSet creation
    - added missing delete function for DataSets
    - wrong entity attributes will now immediately throw an error
    - more DataSet creation tests
    - paging tests added
    - `collection` is now alias for `experiment`
    - `object` is alias for `sample`
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - better support for fetching entity-types (dataSetTypes, sampleTypes)
    - separation of propertyAssignments from entity-types
    - added .get_propertyAssignments() method to all entity-types
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    
    
    ## Changes with pybis-1.7.6
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - bugfix dataset upload for relative files (e.g. ../../file or /User/username/file)
    - always only the filename is added to the dataset, not the folder containing it
    - corrected License file
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.7.5
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - added paging support for all search functions by providing start_with and count arguments
    - make search more robust: allow get_sample('SPACE/CODE') instead of get_sample('/SPACE/CODE')
    - make search more robust: allow get_sample(' 20160706001644827-208 ')
    - make interface more robust (allow sample.permid instead of sample.permId)
    
    - make properties more robust: allow get_samples(props='name') instead of get_samples(
      props=['name'])
    - fixed bug when parent/children of more than one element was searched: o.get_experiments()
      .get_samples().get_parents()
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    
    
    ## Changes with pybis-1.7.4
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - pyBIS now allows to create dataset-containers that contain no data themselves
    - datasets now show a «kind» attribute, which can be either PHYSICAL, LINK or CONTAINER
    - PropertyAssignments and other internal data are now finally nicely presented in Jupyter
    - various bugfixes
    - README.md is now correctly displayed
    
    - setup.py is fixed, installation should no longer fail because of some utf-8 problems on certain
      machines
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.7.3
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - improved packaging information
    - LICENSE included (Apache License v.2)
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    ## Changes with pybis-1.7.2
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - added server_information to openBIS connection
    - bugfix: project samples are only fetched when instance supports them
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - fixed bug in controlled vocabulary when property name did not match the vocabulary name
    - added `xxx_contained()` methods to Samples and DataSets
    - updated documentation
    
    ## Changes with pybis-1.7.0
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - added components and containers functionality to both datasets and samples
    - `set_attributes()` no longer automatically saves the object
    - tags now have to be created (and saved) before they can be assigned
    - `get_tag()` now can search for more than one tag at once and supports both code and permId
    - `get_tags()` now available for almost all objects, returns a dataframe
    - improved and enhanced documentation
    
    
    ## Changes with pybis-1.6.8
    
    
    Swen Vermeul's avatar
    Swen Vermeul committed
    - fixed bugs with parents and children of both samples and datasets
    - new samples can be defined with parents / children
    - `get_parents()` and `get_children()` methods now also work on new, not yet saved objects
    - `get_sample()` and `get_dataset()` now also accept arrays of permIds / identifiers
    - pybis now has a CHANGELOG!