Releases: BlueBrain/NeuroM
Releases · BlueBrain/NeuroM
v2.0.1.dev9
bump version to 2.0.1.dev9
Stop supporting h5v2
Stop supporting h5v2 (#227) (#876) If a h5v2 file is detected at loading time, the error message will point the user to the documentation for a way to convert it to h5v1. https://github.com/BlueBrain/MorphIO#h5v2
Change shape of dataframe of `extract_dataframe` in morph_stats (#874)
neuron features in morph_stats (#874) The features in the 'neuron' entry of the config dict will not be run on each neurite_type, but on the whole neuron only once. This avoid duplicating features if they are the same on all neurite types, such as the ones in neuronfunc.py The returned dataframe is now of the form: ``` | property | axon | all | neuron | name | feature_1 | feature_2 | feature_1 | feature_2 | feature_3 ------------------------------------------------------------------------------------- 0 | simple | 0.1 | 0.2 | 0.15 | 0.25 | 1000 ```
Change the shape of the output DataFrame of `extract_dataframe` (#862)
💥 Change the shape of the output DataFrame of `extract_dataframe` (#862) `extract_dataframe` used to return `N` rows for each neuron where `N` is the number of neurite types in the input config. ## Context Since `extract_dataframe` input is a list of neuron, it is more natural to return exactly one row per neuron. ## Proposed change Use a MultiIndex on the columns to hold the metrics for each neurite type instead of having the neurite type appear in the index (axis=0). ## Example: Before: | | name | neurite_type | metric A | metric B | |---|---------|-----------------|----------|----------| | 0 | no-axon | axon | val A | val B | | 1 | no-axon | apical_dendrite | val A' | val B' | After: | | | axon | apical_dendrite | | | name | metric A | metric B | metric A | metric B | |---|---------|----------|----------|-----------------|----------| | 0 | no-axon | val A | val B | val A' | val B' | ## :sparkles: Additional modification The returned dataframe is now sorted as the input list of neuron and support multiple neuron with the same name In practice - `imap` is now used instead of `imap_unordered`. Maintaining the sorting is worth the slight performance decrease. - the intermediate results are no longer stored in a `dict` but in a `list`. This enables having multiple neuron with the same name. This is for example useful to compare releases.
Drop the fst/ deprecated folder
Relax h5py constraint (#857) and remove the deprecated fst/ files
Pin h5py < 3.0.0
Fix h5py < 3.0.0 (#855) So that packages having as dependencies both bluepy and neurom (like morph-validator), get h5py < 3. Otherwise bluepy breaks
Fix newer pylint constraints (#851)
v1.5.3 Create publish-sdist.yml
add multiprocessing to morph_stat.extract_dataframe
Use multiprocessing in morphs_stats (#847) Small refactoring of morphs_stats module for computational speedup, with the following changes: - uses pool.imap_unordered in extract_dataframe in the loop overs neurons - moved neurom.get outside mode loop to avoid duplicate computations
New function extract_dataframe that extract morphometrics as a dataframe
v1.5.1 New function extract_dataframe that extract morphometrics as a datafr…
Drop python 2 support
Drop python 2 support (#829) NeuroM is now supported from python 3.5 to 3.8