Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

v2.0.0

Choose a tag to compare

@joni-herttuainen joni-herttuainen released this 17 Oct 10:57
95fa737

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