You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem: Sonata specs force very complicated API to access reports.
When there is a report file, you want to open simply and access its data directly. Sonata specs, and hence bluepysnap, require additional steps:
Point to a simulation config that was used to generate the report.
The simulation config must have the "network" field that points to a Sonata circuit config that was used by the simulation config.
The simulation config must have the "run" field that contains the parameters for simulation. These parameters must be the same in the report file. Otherwise it won't open.
The simulation config must have the "reports" field where the report file, we want to open, is specified.
plus complicated configs of simulation and circuit:
{"network": "path/to/sonata/circuit/config.json","output": {"output_dir": "/path/to/dir/where/report/located"},"run": {// the exact parameters of report otherwise bluepysnap will throw an error},"format": "HDF5","reports": {"report-name": {"file_name": "report-filename"}}}
sonata circuit config:
{// all the required keys like "network", "components" etc.}
The proposition would be to create the easy access API. Currently libsonata offers such. The only
thing it lacks is array indexing of report data BlueBrain/libsonata#153.
Isn't the goal of snap to allow access to datasets from within the circuit context? This is the reason why snap does not allow for example to access the node and edge populations as standalone files. This is the job of libsonata's low level api.
The problem: Sonata specs force very complicated API to access reports.
When there is a report file, you want to open simply and access its data directly. Sonata specs, and hence bluepysnap, require additional steps:
So, we have to use this:
plus complicated configs of simulation and circuit:
sonata circuit config:
Instead of an easy access API like:
The proposition would be to create the easy access API. Currently
libsonata
offers such. The onlything it lacks is array indexing of report data BlueBrain/libsonata#153.
cc @mgeplf
The text was updated successfully, but these errors were encountered: