This repository was archived by the owner on Feb 26, 2025. It is now read-only.
v2.0.0
New Features
NodeSetsobject can be instantiated with three methods:from_file,from_string,from_dict- Simulation inputs are now accessible with
Simulation.inputs libsonatareader ofsynapse_replayfiles can now be accessed withsimulation.inputs["<input_name>"].reader- only
h5format is supported
- only
Improvements
- Node set resolution is done by libsonata
- Simulation node set extends Circuit node set
- A warning is raised if any of the circuit's node sets is overwritten
- Added kwarg:
raise_missing_propertytoNodePopulation.get - Undeprecated calling
Edges.getandEdgePopulation.getwithproperties=None
Bug Fixes
- Fixed the
Same property with different dtypeissue withnodes.get,edges.get
Breaking Changes
nodes.getandedges.get(andnetwork.get) no longer return a dataframe- returns a generator yielding tuples of
(<population_name>, <dataframe>)instead - to get the previous behavior (all in one dataframe):
pd.concat(df for _, df in circuit.nodes.get(*args, **kwargs))
- returns a generator yielding tuples of
- Removed
Network.property_dtypes,CircuitIds.index_schema Circuit.node_sets,Simulation.node_setsreturnsNodeSetsobject initialized with empty dict when node sets file is not presentNodeSet.resolvedis no longer availableFrameReport.node_setreturns node_set name instead of resolved node set query- Removed
Edges.properties,EdgePopulation.propertiesthat were already supposed to be removed in v1.0.0