Release v0.12.0 - Stable
Release v0.12.0
Features:
- Added the
isatools.create.connectorsmodule. This module contains thegenerate_study_design_from_configfunction to generate anisatools.create.StudyDesignfrom 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 oneAssayper 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.ProductNodenow has an attributeextension(e.g. a file extension fo aDataFilenode) (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.constantsandisatools.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.modelshas been renamed toisatools.create.model(issue #368)IsaModelAttributeErrorhas been replaced withAttributeError. We will favour standard Exceptions whenever applicable.
Bug Fixes:
- Fixed typo in NAME_PROPERTY_ASSIGNMENT_ERROR (issue #328)
- Silent expansion of
Characteristiccategories fromstrtoOntologyAnnotationnow 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
OntologyAnnotationids (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" (commit b8f2f55)