Releases: BlueBrain/snap
Releases · BlueBrain/snap
v3.0.1
Version v3.0.0
New Features
- Added simulation config validation
- Added a new commandline subcommands:
validate-simulation
,validate-circuit
Breaking Changes
- Edge populations'
iter_connections
returnsCircuitNodeId
instead ofint
- Removed the commandline subcommand
validate
in favor of newvalidate-circuit
command
v2.0.2
Improvements
- Readded compatibility with
jsonschema<4.18
v2.0.1
Bug Fixes
- fixed pylint
cyclic-import
issues - fixed docstrings of
Nodes.get
,Edges.get
- did small fixes and added basic testing to
_plotting.py
v2.0.0
New Features
NodeSets
object can be instantiated with three methods:from_file
,from_string
,from_dict
- Simulation inputs are now accessible with
Simulation.inputs
libsonata
reader ofsynapse_replay
files can now be accessed withsimulation.inputs["<input_name>"].reader
- only
h5
format 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_property
toNodePopulation.get
- Undeprecated calling
Edges.get
andEdgePopulation.get
withproperties=None
Bug Fixes
- Fixed the
Same property with different dtype
issue withnodes.get
,edges.get
Breaking Changes
nodes.get
andedges.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_sets
returnsNodeSets
object initialized with empty dict when node sets file is not presentNodeSet.resolved
is no longer availableFrameReport.node_set
returns node_set name instead of resolved node set query- Removed
Edges.properties
,EdgePopulation.properties
that were already supposed to be removed in v1.0.0
v1.0.7
New Features
- Added
CircuitIds.intersection
to take the intersection of twoCircuitIds
.
Improvements
- Improve performance when querying a population with
get()
andids()
.
Bug Fixes
- Fix
CircuitIds.sample()
to always return different samples. - Ensure that the report DataFrames have the same schema even when empty.
v1.0.6
v1.0.5
v1.0.4
Bug Fixes
- Remove NeuroM and lazy-object-proxy dependency leftovers.