Closed stripathy closed 9 years ago
make these as tests and then close issue
Here's a test for 'fast-spiking basket cell'
{
"EphysTrigger": [
{
"begin": 5,
"end": 12
}
],
"Morphology": [
{
"begin": 13,
"end": 19
}
],
"EphysProp": [
{
"begin": 0,
"end": 4
}
],
"Electrophysiology": [
{
"begin": 0,
"end": 12
},
]
}
The test will be as below, it's the same as your json:
{
"Morphology": [
{
"begin": 13,
"end": 19,
"properties": {
"ontologyId": "HBP_MORPHOLOGY:0000019"
}
}
],
"EphysTrigger": [
{
"begin": 5,
"end": 12,
"properties": {
"ontologyId": "HBP_EPHYS_TRIGGER:0000003"
}
}
],
"Electrophysiology": [
{
"begin": 0,
"end": 12
}
],
"EphysProp": [
{
"begin": 0,
"end": 4,
"properties": {
"ontologyId": "HBP_EPHYS:0000080"
}
}
],
"Neuron": [
{
"begin": 0,
"end": 24
}
]
}
EphysProps and EphysTriggers should be combined into a neuroNER if they are conjoined by a hyphen: fast-spiking cell // fast not part of neuroNER, but identified as EphysProp non-fast-spiking cell // non-fast not part of neuroNER, but identified as EphysProp spiking cell //
See example below: