Release v0.12.0 - Release Candidate 2
Pre-release
Pre-release
Release v0.12.0 - Release Candidate
Features:
- Added the
isatools.create.connectors
module. This module contains thegenerate_study_design_from_config
function to generate anisatools.create.StudyDesign
from a JSON configuration document containing metadata about the study design, including sampling and assay plan. These JSON documents can be generated by the Datascriptor application.(issues #355, #356, #377) - Added support for observational variables to
isatools.create.model.StudyArm
(with the parametersource_characteristics
) (PR #367) StudyDesign.generate_isa_study()
now generates oneAssay
per assay type (viaStudyDesign._generate_samples()
). (issue #369, #373)- The names of the assay nodes (extract, labelled, extract, protocol node, and data file) (issue #370, #373)
isatools.create.model.ProductNode
now has an attributeextension
(e.g. a file extension fo aDataFile
node) (issue #378)
Enhancements and Cleanup:
- Introduced support for (built-in, non-configurable) synonyms in protocol types. Protocol types have also been made case insensitive. (issue #382)
- Refactored constants and error messages for the create mode, introducing the modules
isatools.create.constants
andisatools.create.errors
(issue #342, #368) - Removed asterisk imports (
*
) from all the core modules (issue #368) - Removed leftover
print()
statements (issue #374) - overall test coverage increased from 67% to 75%. The increase is due both to an increase in the number of tests and the removal of some deprecated, experimental or spurious modules.
Breaking changes:
isatools.create.models
has been renamed toisatools.create.model
(issue #368)IsaModelAttributeError
has been replaced withAttributeError
. We will favour standard Exceptions whenever applicable.
Bug Fixes:
- Fixed typo in NAME_PROPERTY_ASSIGNMENT_ERROR (issue #328)
- Silent expansion of
Characteristic
categories fromstr
toOntologyAnnotation
now supported. You can assign a string to a characteristic category and it will be automatically wrapped into an ontology annotation. (issue #332) - Fixed duplicated in
OntologyAnnotation
ids (issue #381) - Fixed raising of an error when correctly setting a comment value (issue #360)
- Assigned correct header "Data Transformation Name" for protocol type "sequence analysis data transformation"