Skip to content

Version 1.7.0

Compare
Choose a tag to compare
@schlegelp schlegelp released this 18 Aug 14:50
· 239 commits to master since this release

With this release we integrate navis-fastcore into navis which contains a number of core functions re-implemented in Rust 🎉

For now this is a soft dependency but if you pip install navis-fastcore, navis will automatically use these improved functions under the hood, which can speed things up by up to 20x 🚀

In other news:

Breaking

  • plotting functions: dropped the cluster parameter in favour of an improved color_by logic (see below)

New

  • new method navis.NeuronList.add_metadata to quickly add metadata to neurons

Improved

  • navis.find_soma and navis.graph.neuron2nx (used under the hood) are now much faster
  • all I/O functions, such as navis.read_swc, now show which file caused an error (if any); original filenames are tracked as .file property
  • navis.NeuronList will only search the first 100 neurons for autocompletion to avoid freezing with very large lists
  • plotting functions: color_by now accepts either a list of labels (one per neuron) or the name of a neuron property
  • navis.subset_neuron is now faster and more memory efficient when subsetting meshes
  • navis.TreeNeuron.cable_length is now faster

Fixed

  • all I/O functions such as navis.read_swc now ignore hidden files (filename starts with ._) instead of breaking
  • navis.read_swc now actually uses the soma label (if present) to set the soma node
  • fixed a bug in plotting when using vertex colors
  • fixed the progress bar in navis.interfaces.neuprint.fetch_mesh_neuron
  • fixed a bug in navis.synblast that caused multiprocessing to fail (pickling issue with pykdtree)
  • navis.interfaces.neuprint.fetch_mesh_neuron will now ignore the lod parameter if the data source does not
    support it instead of breaking
  • fixed a number of depcrecation warnings in the codebase