unveil-python 0.7.2__tar.gz → 0.7.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unveil-python
3
- Version: 0.7.2
3
+ Version: 0.7.3
4
4
  Summary: Implementation of UNVEIL
5
5
  Author-email: Nicolas Delinte <nicolas.delinte@uclouvain.be>
6
6
  License-Expression: GPL-3.0-only
@@ -1,5 +1,5 @@
1
1
  """
2
2
  This package contains an UNVEIL, a lightweight tractography viewer implemented in python."""
3
3
 
4
- __version__ = "0.7.2"
4
+ __version__ = "0.7.3"
5
5
  __author__ = 'Nicolas Delinte'
@@ -31,7 +31,7 @@ def dilate_atlas_labels(atlas, brain_mask=None, dilation_width: float = 1):
31
31
  """
32
32
 
33
33
  # Mask unlabeled voxels inside the brain
34
- unlabeled = np.where(atlas != 0, 1, 0)
34
+ unlabeled = np.where(atlas == 0, 1, 0)
35
35
  if brain_mask is not None:
36
36
  unlabeled *= brain_mask.astype('int32')
37
37
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unveil-python
3
- Version: 0.7.2
3
+ Version: 0.7.3
4
4
  Summary: Implementation of UNVEIL
5
5
  Author-email: Nicolas Delinte <nicolas.delinte@uclouvain.be>
6
6
  License-Expression: GPL-3.0-only
File without changes
File without changes
File without changes