Comments (2)
Analysing this issue, the units at the moment appear as:
"unit": {
"$ref": "ontology_annotation_schema.json#"
}
in factor_value_schema, material_attribute_value_schema and process_parameter_value_schema.
Given that they are ontology annotations, they will have annotationValue and termSource and termAccession.
Compiling all the unit definitions at the study and assay level would mean referencing them from the value declarations. This would make the representation more compact (and opaque with the use of identifiers) but also might mean in some cases creating @id to what would be already URIs (if the termAccession/termSource is provided).
So, I am not sure it would be good to actually make this refactoring.
Thoughts? @proccaserra @djcomlab @Zigur ?
from isa-api.
I think it it's OK for @id to reference stuff that may already have URIs since it's only for internal use. Also, there's no guarantee a termAccession/termSource will be provided for a unit.
from isa-api.
Related Issues (20)
- ISATAB serialization: effect of presence/absence to "Term Source REF" "Term Accession" on parsing
- copy function invoked by json2isatab converter has side effects
- ISA converter - use of default configuration - update needed to cope with new assay definitions
- Add new tests to check serialization to TAB/JSON of Quantitative Values with Units (for Characterististics. FV, PV) HOT 1
- ISA Validation Configurations Too Restrictive HOT 5
- ISA Tab Validation Rule Exception Messaging HOT 1
- Characteristic values are recast as string in ISA tab
- rewrite test for test_get_ontology in test_isatools_utils.py
- Inconsistencies Between Code, Documentation, and Schema HOT 5
- in datafile.py, ensure checkum_value can not be site if checksum_type is not specified
- documentation needed for requesting new context files for ISA
- investigation why magetab2json on MEXP31 can not complete isa.json validation following refactor
- Required Fields In Investigation XML Config
- rewrite more atomic tests for Process sequence to elucidate counts of events
- refactoring needed in assay_templates.py to properly handle Ontology Source
- implement a guard in material.py
- Installation Before Testing
- derives_from relation on Material
- mock pubmed API call in test
- Test Data Validation Changes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isa-api.