Skip to content

Releases: BlueBrain/NeuroM

v2.0.1.dev9

12 Apr 15:08
Compare
Choose a tag to compare
v2.0.1.dev9 Pre-release
Pre-release
bump version to 2.0.1.dev9

Stop supporting h5v2

05 Mar 16:28
a2bea99
Compare
Choose a tag to compare
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)

05 Mar 16:28
227636c
Compare
Choose a tag to compare
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)

11 Jan 14:03
e994920
Compare
Choose a tag to compare
💥 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

26 Nov 09:27
f9561c8
Compare
Choose a tag to compare
Relax h5py constraint (#857)

and remove the deprecated fst/ files

Pin h5py < 3.0.0

20 Nov 15:40
aa94eb5
Compare
Choose a tag to compare
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)

17 Nov 13:27
1074b72
Compare
Choose a tag to compare
v1.5.3

Create publish-sdist.yml

add multiprocessing to morph_stat.extract_dataframe

24 Jul 14:29
4f01b4c
Compare
Choose a tag to compare
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

17 Jul 09:39
df5bc62
Compare
Choose a tag to compare
v1.5.1

New function extract_dataframe that extract morphometrics as a datafr…

Drop python 2 support

15 Jul 11:39
25da093
Compare
Choose a tag to compare
Drop python 2 support (#829)

NeuroM is now supported from python 3.5 to 3.8