Skip to content

Commit

Permalink
Merge pull request #110 from mobie/absolute-paths
Browse files Browse the repository at this point in the history
Add absolute path for local files
  • Loading branch information
tischi authored Apr 29, 2024
2 parents 174162a + 6777140 commit a6bf8f1
Showing 1 changed file with 32 additions and 4 deletions.
36 changes: 32 additions & 4 deletions schema/source.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,19 @@
"type": "string",
"description": "The file path to the xml storing the bdv metadata, relative to the dataset root location."
},
"absolutePath": {
"type": "string",
"description": "The absolute file path to the xml storing the bdv metadata."
},
"channel": {
"type": "integer",
"description": "Optional setup to display from the bdv.xml, in case it contains multiple setups."
}
},
"required": ["relativePath"],
"oneOf": [
{"required": ["relativePath"]},
{"required": ["absolutePath"]}
],
"additionalProperties": false
},
"bdv.n5": {
Expand All @@ -34,12 +41,19 @@
"type": "string",
"description": "The file path to the xml storing the bdv metadata, relative to the dataset root location."
},
"absolutePath": {
"type": "string",
"description": "The absolute file path to the xml storing the bdv metadata."
},
"channel": {
"type": "integer",
"description": "Optional setup to display from the bdv.xml, in case it contains multiple setups."
}
},
"required": ["relativePath"],
"oneOf": [
{"required": ["relativePath"]},
{"required": ["absolutePath"]}
],
"additionalProperties": false
},
"bdv.n5.s3": {
Expand All @@ -66,12 +80,19 @@
"type": "string",
"description": "The file path to the xml storing the bdv metadata, relative to the dataset root location."
},
"absolutePath": {
"type": "string",
"description": "The absolute file path to the xml storing the bdv metadata."
},
"channel": {
"type": "integer",
"description": "Optional setup to display from the bdv.xml, in case it contains multiple setups."
}
},
"required": ["relativePath"],
"oneOf": [
{"required": ["relativePath"]},
{"required": ["absolutePath"]}
],
"additionalProperties": false
},
"bdv.ome.zarr.s3": {
Expand All @@ -98,12 +119,19 @@
"type": "string",
"description": "The file path to the ome.zarr file, relative to the dataset root location."
},
"absolutePath": {
"type": "string",
"description": "The absolute file path to the ome.zarr file."
},
"channel": {
"type": "integer",
"description": "Optional channel to display from the ome.zarr file, in case it contains multiple channels."
}
},
"required": ["relativePath"],
"oneOf": [
{"required": ["relativePath"]},
{"required": ["absolutePath"]}
],
"additionalProperties": false
},
"ome.zarr.s3": {
Expand Down

0 comments on commit a6bf8f1

Please sign in to comment.