-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add synaptome properties, examples and tests (#5119)
* Add synaptome properties, examples and tests * fix name pf synaptomeSimulation in test * little query typo * fix memodel id * fix id of synaptome in test * fix other typos and a wrong id in query * remove undeleted items from copy-pasting in test
- Loading branch information
Showing
4 changed files
with
186 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
tests/src/test/resources/kg/search/data/single-neuron-synaptome.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"@context": "https://bbp.neuroshapes.org", | ||
"@type": "SingleNeuronSynaptome", | ||
"@id": "https://bbp.epfl.ch/data/synapse/single-neuron-synaptome", | ||
"brainLocation": { | ||
"@type": "BrainLocation", | ||
"brainRegion": { | ||
"@id": "mba:322", | ||
"label": "Primary somatosensory area" | ||
}, | ||
"layer": { | ||
"@id": "uberon:0005394", | ||
"label": "layer 5" | ||
} | ||
}, | ||
"description": "desc", | ||
"distribution": [ | ||
{ | ||
"@type": "DataDownload", | ||
"contentSize": { | ||
"unitCode": "bytes", | ||
"value": 837 | ||
}, | ||
"contentUrl": "https://openbluebrain.com/api/nexus/v1/files/7fa6efce-8809-407f-b4a2-ff8b67e24c59/e582af75-0778-4970-b5a7-1b5bfa30448c/https:%2F%2Fopenbluebrain.com%2Fdata%2F7fa6efce-8809-407f-b4a2-ff8b67e24c59%2Fe582af75-0778-4970-b5a7-1b5bfa30448c%2F1fb96ceb-315a-4e40-ab06-3f689aaf824c", | ||
"digest": { | ||
"algorithm": "SHA-256", | ||
"value": "2420a0025da673991ada98fe6f12bd74d51d77aa4720ea1d1f869f49a582a030" | ||
}, | ||
"encodingFormat": "application/json", | ||
"name": "synaptome_config.json" | ||
} | ||
], | ||
"name": "synaptome-model-04", | ||
"objectOfStudy": { | ||
"@id": "http://bbp.epfl.ch/neurosciencegraph/taxonomies/objectsofstudy/singlecells", | ||
"@type": "nsg:ObjectOfStudy", | ||
"label": "Single Cell" | ||
}, | ||
"seed": 100, | ||
"used": { | ||
"@id": "https://bbp.epfl.ch/data/memodel", | ||
"@type": [ | ||
"Entity", | ||
"MEModel" | ||
] | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
tests/src/test/resources/kg/search/data/synaptome-simulation.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"@context": "https://bbp.neuroshapes.org", | ||
"@id": "https://bbp.epfl.ch/data/synapse/synaptome-simulation", | ||
"@type": [ | ||
"Entity", | ||
"SynaptomeSimulation" | ||
], | ||
"brainLocation": { | ||
"@type": "BrainLocation", | ||
"brainRegion": { | ||
"@id": "mba:322", | ||
"label": "Primary somatosensory area" | ||
}, | ||
"layer": { | ||
"@id": "uberon:0005394", | ||
"label": "layer 5" | ||
} | ||
}, | ||
"description": "sim", | ||
"distribution": [ | ||
{ | ||
"@type": "DataDownload", | ||
"contentSize": { | ||
"unitCode": "bytes", | ||
"value": 15776294 | ||
}, | ||
"contentUrl": "https://openbluebrain.com/api/nexus/v1/files/7fa6efce-8809-407f-b4a2-ff8b67e24c59/e582af75-0778-4970-b5a7-1b5bfa30448c/https%3A%2F%2Fopenbluebrain.com%2Fdata%2F7fa6efce-8809-407f-b4a2-ff8b67e24c59%2Fe582af75-0778-4970-b5a7-1b5bfa30448c%2F9af6a672-aa28-4caa-9c20-9e09410e5800?rev=1", | ||
"digest": { | ||
"algorithm": "SHA-256", | ||
"value": "09a2e5708c7f053b1f36584c5555920e5def11b0753f87cc7690445e36bafd79" | ||
}, | ||
"encodingFormat": "application/json", | ||
"name": "simulation-config-synaptome.json" | ||
} | ||
], | ||
"injectionLocation": "soma[0]", | ||
"name": "synatome-sim-05", | ||
"recordingLocation": [ | ||
"soma[0]_0.5", | ||
"dend[38]_0.5", | ||
"dend[1]_0.4", | ||
"apic[53]_0.3" | ||
], | ||
"used": { | ||
"@id": "https://bbp.epfl.ch/data/synapse/single-neuron-synaptome", | ||
"@type": "SingleNeuronSynaptome" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters