Open imagejan opened 2 months ago
I was trying to use the example projects/datasets linked from https://github.com/mobie/mobie.github.io/blob/master/index.md#use-cases-and-example-projects to validate some of my own code dealing with MoBIE projects, and noticed that some of the datasets fail validation with the current JSON Schema:
https://raw.githubusercontent.com/mobie/clem-example-project/main/data/hela/dataset.json: ✔️
https://raw.githubusercontent.com/mobie/clem-example-project/main/data/yeast/dataset.json: ✔️
https://raw.githubusercontent.com/mobie/covid-if-project/main/data/20200406_164555_328/dataset.json ✔️ This dataset encodes a mergedGrid.centerAtOrigin and mergedGrid.encodeSource that are not explicitly specified in the JSON Schema.
mergedGrid.centerAtOrigin
mergedGrid.encodeSource
https://raw.githubusercontent.com/mobie/arabidopsis-root-lm-project/main/data/arabidopsis-root/dataset.json: ❌ ValidationError: Additional properties are not allowed ('timepoints' was unexpected)
ValidationError: Additional properties are not allowed ('timepoints' was unexpected)
https://raw.githubusercontent.com/mobie/mouse-embryo-spatial-transcriptomics-project/main/data/embryo3/dataset.json ❌ ValidationError: 'sources' is a required property
ValidationError: 'sources' is a required property
@tischi @constantinpape Can I expect that these datasets should validate? Do I need to apply a different version of the schema? Is that specified somewhere?
I was trying to use the example projects/datasets linked from https://github.com/mobie/mobie.github.io/blob/master/index.md#use-cases-and-example-projects to validate some of my own code dealing with MoBIE projects, and noticed that some of the datasets fail validation with the current JSON Schema:
https://raw.githubusercontent.com/mobie/clem-example-project/main/data/hela/dataset.json: ✔️
https://raw.githubusercontent.com/mobie/clem-example-project/main/data/yeast/dataset.json: ✔️
https://raw.githubusercontent.com/mobie/covid-if-project/main/data/20200406_164555_328/dataset.json ✔️ This dataset encodes a
mergedGrid.centerAtOrigin
andmergedGrid.encodeSource
that are not explicitly specified in the JSON Schema.https://raw.githubusercontent.com/mobie/arabidopsis-root-lm-project/main/data/arabidopsis-root/dataset.json: ❌
ValidationError: Additional properties are not allowed ('timepoints' was unexpected)
https://raw.githubusercontent.com/mobie/mouse-embryo-spatial-transcriptomics-project/main/data/embryo3/dataset.json ❌
ValidationError: 'sources' is a required property
@tischi @constantinpape Can I expect that these datasets should validate? Do I need to apply a different version of the schema? Is that specified somewhere?