unveil-python 0.7.2__py3-none-any.whl → 0.7.3__py3-none-any.whl

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.
unveil/__init__.py CHANGED
@@ -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'
unveil/utils.py CHANGED
@@ -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
@@ -0,0 +1,9 @@
1
+ unveil/__init__.py,sha256=B6zZBLVsCqru0EnCIogQQb-B9AtIJ4onyH1tuG2xYao,154
2
+ unveil/__main__.py,sha256=bnkQ3e9iiAhCnxkvJNWcmlAHRDhY21tuZS8UJnz4XEg,180
3
+ unveil/core.py,sha256=cDd3JF-6Dk5PLZu5PrHNF1pQM-2cCXUqcqrn2n7wp_s,52272
4
+ unveil/utils.py,sha256=gwJoaVrTNYm7EBBJlE78P-54kJiIEn-yCo7B-w0X0iI,1792
5
+ unveil_python-0.7.3.dist-info/licenses/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
6
+ unveil_python-0.7.3.dist-info/METADATA,sha256=KcYmeHYFpDYctQI0T5wZdnvFwXhJX9-N7Vdj8EDa4kA,2690
7
+ unveil_python-0.7.3.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
8
+ unveil_python-0.7.3.dist-info/top_level.txt,sha256=9wvfQb68TeFLFyrzZWSrNgFDdwE75I--VtoGyvnl3ks,7
9
+ unveil_python-0.7.3.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- unveil/__init__.py,sha256=PAbeYyX5eFdZIG8r58DtglEQT7yuAtjLpjbc_vMdLKU,154
2
- unveil/__main__.py,sha256=bnkQ3e9iiAhCnxkvJNWcmlAHRDhY21tuZS8UJnz4XEg,180
3
- unveil/core.py,sha256=cDd3JF-6Dk5PLZu5PrHNF1pQM-2cCXUqcqrn2n7wp_s,52272
4
- unveil/utils.py,sha256=BUSqyyVDezyrSaG_TsfcO49g7Cedr48NF25P-ctzKWA,1792
5
- unveil_python-0.7.2.dist-info/licenses/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
6
- unveil_python-0.7.2.dist-info/METADATA,sha256=_lc9tRFcjC9QYyxf_yWY5pSskF5Fboj_yM2VQMUDOw0,2690
7
- unveil_python-0.7.2.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
8
- unveil_python-0.7.2.dist-info/top_level.txt,sha256=9wvfQb68TeFLFyrzZWSrNgFDdwE75I--VtoGyvnl3ks,7
9
- unveil_python-0.7.2.dist-info/RECORD,,