Changelog#
All notable changes to CRANTpy will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]#
Added#
Initial changelog file
Backward compatibility for
parse_neuroncriteriaimport fromcrantpy.queries.neuronsOffline unit tests for
crantpy.viz.skeletonize(tests/test_skeletonize.py) covering the SWC dict-to-TreeNeuronconversion, soma detection, andget_skeletonsdeduplication (no CAVE credentials required)datasetparameter onskeletonize_neuronandskeletonize_neurons_parallelso the on-demand mesh fetch uses the same dataset as the rest of the call
Changed#
BREAKING:
parse_neuroncriteriahas been moved fromcrantpy.queries.neuronstocrantpy.utils.decoratorsBackward compatibility maintained with deprecation warning
Users should update imports:
from crantpy.utils.decorators import parse_neuroncriteriaOld import location will be removed in a future version
get_skeletonsnow deduplicatesroot_idsbefore fetching and iterates fetches as they complete (as_completed), reporting the failing root id on errorskeletonize_neurontreatssave_toas an output directory when given multiple root IDs, writing one<root_id>.swcper neuron instead of overwriting a single file
Deprecated#
Importing
parse_neuroncriteriafromcrantpy.queries.neurons(usecrantpy.utils.decoratorsinstead)
Fixed#
Import error in tests for
parse_neuroncriteriafunctionSkeleton topology:
_create_node_info_dictnow rebuilds parent pointers from undirected connectivity, fixing inverted roots and dropped branch-point children (meshparty emits[child, parent]edges) that produced fragmented skeletons in both thepcg_skeland precomputed-fetch pathsWrong-dataset meshes: the skeletor fallback in
skeletonize_neuronnow fetches the CloudVolume for the client’s dataset instead of always the default datasetSoma detection:
detect_soma_skeletonno longer skips a segment whose only large-radius node is at position 0;detect_soma_meshneighbour counting is now vectorized (was O(n²))skeletonize_neurons_parallelcolour generation aligns colours to the returned neurons and usesplt.get_cmap(compatible with current matplotlib); the precomputed-fetch failure reason inget_skeletonsis now logged instead of silently swallowed
Support#
📖 Documentation: crantpy.readthedocs.io
🐛 Bug Reports: GitHub Issues
💡 Feature Requests: GitHub Discussions
📧 Email: crantpy-dev@example.com