Skip to content

Releases: BlueBrain/snap

v3.0.1

14 Feb 15:00
4a64964
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a bug causing some iterables (e.g., tuples) in queries not to work as expected

Improvements

  • Made morphology directory available via MorphHelper.get_morphology_dir

Version v3.0.0

31 Jan 13:37
dea9ac5
Compare
Choose a tag to compare

New Features

  • Added simulation config validation
  • Added a new commandline subcommands: validate-simulation, validate-circuit

Breaking Changes

  • Edge populations' iter_connections returns CircuitNodeId instead of int
  • Removed the commandline subcommand validate in favor of new validate-circuit command

v2.0.2

09 Nov 11:30
1457f7f
Compare
Choose a tag to compare

Improvements

  • Readded compatibility with jsonschema<4.18

v2.0.1

07 Nov 08:04
95619fa
Compare
Choose a tag to compare

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

17 Oct 10:57
95fa737
Compare
Choose a tag to compare

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 of synapse_replay files can now be accessed with simulation.inputs["<input_name>"].reader
    • only h5 format is supported

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 to NodePopulation.get
  • Undeprecated calling Edges.get and EdgePopulation.get with properties=None

Bug Fixes

  • Fixed the Same property with different dtype issue with nodes.get, edges.get

Breaking Changes

  • nodes.get and edges.get (and network.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))
  • Removed Network.property_dtypes, CircuitIds.index_schema
  • Circuit.node_sets, Simulation.node_sets returns NodeSets object initialized with empty dict when node sets file is not present
  • NodeSet.resolved is no longer available
  • FrameReport.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

23 Jun 12:12
f205a75
Compare
Choose a tag to compare

New Features

  • Added CircuitIds.intersection to take the intersection of two CircuitIds.

Improvements

  • Improve performance when querying a population with get() and ids().

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

12 Jun 09:37
0b59c4d
Compare
Choose a tag to compare

Improvements

  • Clarification for partial circuit configs
  • Publish version as bluepysnap.__version__
  • Support lazy loading of nodes attributes.
  • Add t_step parameter to frame reports.
  • Add python 3.11 tests.
  • Drop python 3.7 support.

v1.0.5

21 Mar 10:38
201a3d3
Compare
Choose a tag to compare

Improvements

  • Add python 3.10 tests, and update GitHub actions.
  • Add pickling to classes with caching, to reduce chances of blowup on cached methods

v1.0.4

17 Mar 09:55
b9e698e
Compare
Choose a tag to compare

Bug Fixes

  • Remove NeuroM and lazy-object-proxy dependency leftovers.

v1.0.3

28 Feb 10:05
735017d
Compare
Choose a tag to compare

Improvements

  • schemas can return datatypes for attributes for the nodes and edges