swcgeom 0.17.2__tar.gz → 0.18.1__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.
Potentially problematic release.
This version of swcgeom might be problematic. Click here for more details.
- swcgeom-0.18.1/.envrc +1 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/.github/workflows/build.yml +1 -8
- {swcgeom-0.17.2 → swcgeom-0.18.1}/.github/workflows/github-publish.yml +2 -9
- {swcgeom-0.17.2 → swcgeom-0.18.1}/.github/workflows/pypi-publish.yml +1 -6
- {swcgeom-0.17.2 → swcgeom-0.18.1}/.github/workflows/test.yml +0 -6
- {swcgeom-0.17.2 → swcgeom-0.18.1}/.gitignore +1 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/CHANGELOG.md +103 -77
- {swcgeom-0.17.2 → swcgeom-0.18.1}/LICENSE +1 -1
- {swcgeom-0.17.2/swcgeom.egg-info → swcgeom-0.18.1}/PKG-INFO +9 -5
- {swcgeom-0.17.2 → swcgeom-0.18.1}/README.md +7 -3
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/Branch.ipynb +39 -30
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/BranchTree.ipynb +4 -2
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/CollectTips.ipynb +7 -2
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/CutTree.ipynb +11 -6
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/Features.ipynb +2 -1
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/GeometryTransform.ipynb +4 -3
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/ImageStack.ipynb +6 -3
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/MST.ipynb +2 -1
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/SpectralClustering.ipynb +17 -10
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/Tree.ipynb +8 -4
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/dgl/graph.py +3 -3
- {swcgeom-0.17.2 → swcgeom-0.18.1}/pyproject.toml +1 -1
- swcgeom-0.18.1/swcgeom/__init__.py +20 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/_version.py +2 -2
- swcgeom-0.18.1/swcgeom/analysis/__init__.py +23 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/analysis/feature_extractor.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/analysis/features.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/analysis/lmeasure.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/analysis/sholl.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/analysis/trunk.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/analysis/visualization.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/analysis/visualization3d.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/analysis/volume.py +15 -0
- swcgeom-0.18.1/swcgeom/core/__init__.py +30 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/core/branch.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/core/branch_tree.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/core/compartment.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/core/node.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/core/path.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/core/population.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/core/swc.py +15 -0
- swcgeom-0.18.1/swcgeom/core/swc_utils/__init__.py +31 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/core/swc_utils/assembler.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/core/swc_utils/base.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/core/swc_utils/checker.py +16 -1
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/core/swc_utils/io.py +17 -1
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/core/swc_utils/normalizer.py +16 -1
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/core/swc_utils/subtree.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/core/tree.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/core/tree_utils.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/core/tree_utils_impl.py +15 -0
- swcgeom-0.18.1/swcgeom/images/__init__.py +19 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/images/augmentation.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/images/contrast.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/images/folder.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/images/io.py +16 -1
- swcgeom-0.18.1/swcgeom/transforms/__init__.py +30 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/transforms/base.py +17 -2
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/transforms/branch.py +74 -8
- swcgeom-0.18.1/swcgeom/transforms/branch_tree.py +82 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/transforms/geometry.py +22 -7
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/transforms/image_preprocess.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/transforms/image_stack.py +16 -1
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/transforms/images.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/transforms/mst.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/transforms/neurolucida_asc.py +16 -1
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/transforms/path.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/transforms/population.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/transforms/tree.py +46 -5
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/transforms/tree_assembler.py +19 -4
- swcgeom-0.18.1/swcgeom/utils/__init__.py +29 -0
- swcgeom-0.18.1/swcgeom/utils/debug.py +34 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/utils/download.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/utils/dsu.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/utils/ellipse.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/utils/file.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/utils/neuromorpho.py +18 -7
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/utils/numpy_helper.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/utils/plotter_2d.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/utils/plotter_3d.py +18 -1
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/utils/renderer.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/utils/sdf.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/utils/solid_geometry.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/utils/transforms.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom/utils/volumetric_object.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1/swcgeom.egg-info}/PKG-INFO +9 -5
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom.egg-info/SOURCES.txt +2 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom.egg-info/requires.txt +1 -1
- swcgeom-0.18.1/tests/__init__.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/tests/analysis/test_volume.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/tests/transforms/test_neurolucida_asc.py +15 -0
- swcgeom-0.18.1/tests/utils/__init__.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/tests/utils/test_dsu.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/tests/utils/test_numpy_helper.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/tests/utils/test_sdf.py +19 -12
- {swcgeom-0.17.2 → swcgeom-0.18.1}/tests/utils/test_solid_geometry.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/tests/utils/test_transforms.py +15 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/tests/utils/test_volumetric_object.py +19 -8
- swcgeom-0.17.2/swcgeom/__init__.py +0 -6
- swcgeom-0.17.2/swcgeom/analysis/__init__.py +0 -8
- swcgeom-0.17.2/swcgeom/core/__init__.py +0 -15
- swcgeom-0.17.2/swcgeom/core/swc_utils/__init__.py +0 -17
- swcgeom-0.17.2/swcgeom/images/__init__.py +0 -4
- swcgeom-0.17.2/swcgeom/transforms/__init__.py +0 -14
- swcgeom-0.17.2/swcgeom/utils/__init__.py +0 -14
- swcgeom-0.17.2/swcgeom/utils/debug.py +0 -19
- swcgeom-0.17.2/tests/__init__.py +0 -0
- swcgeom-0.17.2/tests/utils/__init__.py +0 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/.pylintrc +0 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/.vscode/settings.json +0 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/data/101711-10_4p5-of-16_initial.CNG.swc +0 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/data/101711-11_16-of-16_initial.CNG.swc +0 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/data/1059283677_15257_2226-X16029-Y23953.swc +0 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/data/toydata.swc +0 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/pytorch/branch.py +0 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/pytorch/branch_dataset.py +0 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/examples/pytorch/tree_folder_dataset.py +0 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/git-conventional-commits.yaml +0 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/setup.cfg +0 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom.egg-info/dependency_links.txt +0 -0
- {swcgeom-0.17.2 → swcgeom-0.18.1}/swcgeom.egg-info/top_level.txt +0 -0
swcgeom-0.18.1/.envrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
layout python
|
|
@@ -1,36 +1,29 @@
|
|
|
1
1
|
name: Build Python Package
|
|
2
|
-
|
|
3
2
|
on:
|
|
4
3
|
workflow_call:
|
|
5
|
-
|
|
6
4
|
jobs:
|
|
7
5
|
build:
|
|
8
6
|
runs-on: ubuntu-latest
|
|
9
7
|
steps:
|
|
10
8
|
- uses: actions/checkout@v3
|
|
11
|
-
|
|
12
9
|
- name: Set up Python
|
|
13
10
|
uses: actions/setup-python@v3
|
|
14
11
|
with:
|
|
15
12
|
python-version: "3.10"
|
|
16
|
-
|
|
17
13
|
- name: Get history and tags for SCM versioning to work
|
|
18
14
|
run: |
|
|
19
15
|
git fetch --prune --unshallow
|
|
20
16
|
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
|
21
17
|
git describe --tags
|
|
22
18
|
git describe --tags $(git rev-list --tags --max-count=1)
|
|
23
|
-
|
|
24
19
|
- name: Install dependencies
|
|
25
20
|
run: |
|
|
26
21
|
python -m pip install --upgrade pip
|
|
27
22
|
pip install build
|
|
28
|
-
|
|
29
23
|
- name: Build package
|
|
30
24
|
run: python -m build
|
|
31
|
-
|
|
32
25
|
- name: Archive production artifacts
|
|
33
|
-
uses: actions/upload-artifact@
|
|
26
|
+
uses: actions/upload-artifact@v4
|
|
34
27
|
with:
|
|
35
28
|
name: release
|
|
36
29
|
path: |
|
|
@@ -1,33 +1,26 @@
|
|
|
1
1
|
name: Release to GitHub
|
|
2
|
-
|
|
3
2
|
on:
|
|
4
3
|
push:
|
|
5
4
|
tags:
|
|
6
5
|
- v*
|
|
7
|
-
|
|
8
6
|
permissions:
|
|
9
7
|
contents: read
|
|
10
|
-
|
|
11
8
|
jobs:
|
|
12
9
|
build:
|
|
13
10
|
uses: ./.github/workflows/build.yml
|
|
14
|
-
|
|
15
11
|
publish:
|
|
16
12
|
runs-on: ubuntu-latest
|
|
17
13
|
needs: build
|
|
18
14
|
steps:
|
|
19
15
|
- name: Get version
|
|
20
16
|
id: get_version
|
|
21
|
-
run: echo
|
|
22
|
-
|
|
17
|
+
run: echo "VERSION=GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
|
|
23
18
|
- name: Download release
|
|
24
|
-
uses: actions/download-artifact@
|
|
19
|
+
uses: actions/download-artifact@v4
|
|
25
20
|
with:
|
|
26
21
|
name: release
|
|
27
|
-
|
|
28
22
|
- name: Pack release
|
|
29
23
|
run: tar czf swcgeom-${{ steps.get_version.outputs.VERSION }}.tgz dist/
|
|
30
|
-
|
|
31
24
|
- name: Create release
|
|
32
25
|
uses: softprops/action-gh-release@v1
|
|
33
26
|
with:
|
|
@@ -2,28 +2,23 @@
|
|
|
2
2
|
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
|
|
3
3
|
|
|
4
4
|
name: Release to PyPI
|
|
5
|
-
|
|
6
5
|
on:
|
|
7
6
|
push:
|
|
8
7
|
tags:
|
|
9
8
|
- v*
|
|
10
|
-
|
|
11
9
|
permissions:
|
|
12
10
|
contents: read
|
|
13
|
-
|
|
14
11
|
jobs:
|
|
15
12
|
build:
|
|
16
13
|
uses: ./.github/workflows/build.yml
|
|
17
|
-
|
|
18
14
|
publish:
|
|
19
15
|
runs-on: ubuntu-latest
|
|
20
16
|
needs: build
|
|
21
17
|
steps:
|
|
22
18
|
- name: Download release
|
|
23
|
-
uses: actions/download-artifact@
|
|
19
|
+
uses: actions/download-artifact@v4
|
|
24
20
|
with:
|
|
25
21
|
name: release
|
|
26
|
-
|
|
27
22
|
- name: Publish package
|
|
28
23
|
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
|
|
29
24
|
with:
|
|
@@ -1,27 +1,21 @@
|
|
|
1
1
|
name: Run tests
|
|
2
|
-
|
|
3
2
|
on: [push]
|
|
4
|
-
|
|
5
3
|
jobs:
|
|
6
4
|
test:
|
|
7
5
|
runs-on: ubuntu-latest
|
|
8
6
|
strategy:
|
|
9
7
|
matrix:
|
|
10
8
|
python-version: ["3.10", "3.11", "3.12"]
|
|
11
|
-
|
|
12
9
|
steps:
|
|
13
10
|
- uses: actions/checkout@v4
|
|
14
|
-
|
|
15
11
|
- name: Set up Python ${{ matrix.python-version }}
|
|
16
12
|
uses: actions/setup-python@v4
|
|
17
13
|
with:
|
|
18
14
|
python-version: ${{ matrix.python-version }}
|
|
19
|
-
|
|
20
15
|
- name: Install dependencies
|
|
21
16
|
run: |
|
|
22
17
|
python -m pip install --upgrade pip
|
|
23
18
|
pip install .
|
|
24
|
-
|
|
25
19
|
- name: Test with pytest
|
|
26
20
|
run: |
|
|
27
21
|
pip install pytest pytest-cov
|
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## **0.18.1** <sub><sup>2025-01-04 ([9bbacc8...163776f](https://github.com/yzx9/swcgeom/compare/9bbacc89c4b44edd8211be15fbaa3cf80de2e14a...163776f95252737cc997e24d5b363fef30b9ba98?diff=split))</sup></sub>
|
|
4
|
+
|
|
5
|
+
_no relevant changes_
|
|
6
|
+
<br>
|
|
7
|
+
|
|
8
|
+
## **0.18.0** <sub><sup>2025-01-04 ([d3a8b93...a07e648](https://github.com/yzx9/swcgeom/compare/d3a8b93433e71b61b7fae9290c86d6b4a8000894...a07e64810093af78cb9e07ec0d3108d7b3a9fbc3?diff=split))</sup></sub>
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
#####  `transforms`
|
|
13
|
+
|
|
14
|
+
- resample tree \(close [#8](https://github.com/yzx9/swcgeom/issues/#8) \#9\) ([b5c44bb](https://github.com/yzx9/swcgeom/commit/b5c44bbf5a6a128d9855105353260c33a9604c44))
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
- use \`np\.inf\` \(close \#23\) ([1111613](https://github.com/yzx9/swcgeom/commit/11116132afd30a7a00399429af9f9ed37c2ed794))
|
|
19
|
+
|
|
20
|
+
<br>
|
|
21
|
+
|
|
3
22
|
## **0.17.2** <sub><sup>2024-08-07 ([9d5347d...59a5cbf](https://github.com/yzx9/swcgeom/compare/9d5347d0a427f460b92fd86c596e40a23812e48d...59a5cbfbe78f18a95ff8f35e72a4a0f0cdbc5009?diff=split))</sup></sub>
|
|
4
23
|
|
|
5
24
|
### Bug Fixes
|
|
@@ -13,12 +32,11 @@
|
|
|
13
32
|
|
|
14
33
|
- download with multiprocessing should avoid locals func ([6aff3e0](https://github.com/yzx9/swcgeom/commit/6aff3e0ee06fb527f759e6ec9ac09ab1ca745dad))
|
|
15
34
|
|
|
16
|
-
|
|
17
35
|
### BREAKING CHANGES
|
|
18
|
-
- rename bifurcation to furcation ([26e9dec](https://github.com/yzx9/swcgeom/commit/26e9dec2db5b7d457dfe52d9a8e0177d26bc5b07))
|
|
19
|
-
- `core` lazy loading in range indexing ([7d38ea8](https://github.com/yzx9/swcgeom/commit/7d38ea80fefc907c3f55663c052db9b81f144d68))
|
|
20
|
-
<br>
|
|
21
36
|
|
|
37
|
+
- rename bifurcation to furcation ([26e9dec](https://github.com/yzx9/swcgeom/commit/26e9dec2db5b7d457dfe52d9a8e0177d26bc5b07))
|
|
38
|
+
- `core` lazy loading in range indexing ([7d38ea8](https://github.com/yzx9/swcgeom/commit/7d38ea80fefc907c3f55663c052db9b81f144d68))
|
|
39
|
+
<br>
|
|
22
40
|
|
|
23
41
|
## **0.17.1** <sub><sup>2024-04-05 ([a8007ac...0ef3c2b](https://github.com/yzx9/swcgeom/compare/a8007ac6c5eb7de03298dbdcc6be59d3c282e125...0ef3c2b370a570366a79ef456c1125d12f006409?diff=split))</sup></sub>
|
|
24
42
|
|
|
@@ -30,7 +48,6 @@
|
|
|
30
48
|
|
|
31
49
|
<br>
|
|
32
50
|
|
|
33
|
-
|
|
34
51
|
## **0.17.0** <sub><sup>2024-04-04 ([59257cb...2072139](https://github.com/yzx9/swcgeom/compare/59257cbfb6264afd3ca31fcba002f692bbb69ed0...20721393086e5a890b097b3ae32aaa1e4ad6b898?diff=split))</sup></sub>
|
|
35
52
|
|
|
36
53
|
### Features
|
|
@@ -45,11 +62,10 @@
|
|
|
45
62
|
- add new image transformation classes ([7b5d805](https://github.com/yzx9/swcgeom/commit/7b5d805a1aa0deac3f9d7576a9aecab36b59774b))
|
|
46
63
|
- add image flip and notes ([5f2a4d1](https://github.com/yzx9/swcgeom/commit/5f2a4d1a9c2b5fb68e8221c7b024a411b247ab6d))
|
|
47
64
|
|
|
48
|
-
|
|
49
65
|
### BREAKING CHANGES
|
|
50
|
-
- `images` remove deprecated \`swap\_xy\` and \`filp\_xy\` flag ([2072139](https://github.com/yzx9/swcgeom/commit/20721393086e5a890b097b3ae32aaa1e4ad6b898))
|
|
51
|
-
<br>
|
|
52
66
|
|
|
67
|
+
- `images` remove deprecated \`swap_xy\` and \`filp_xy\` flag ([2072139](https://github.com/yzx9/swcgeom/commit/20721393086e5a890b097b3ae32aaa1e4ad6b898))
|
|
68
|
+
<br>
|
|
53
69
|
|
|
54
70
|
## **0.16.0** <sub><sup>2024-03-16 ([bf2bf95...7029483](https://github.com/yzx9/swcgeom/compare/bf2bf95ee9fbfb7eba871db7303292f1dfcc7b8f...70294836643e51ca43d039887bbd71de3a9b561b?diff=split))</sup></sub>
|
|
55
71
|
|
|
@@ -92,11 +108,10 @@
|
|
|
92
108
|
|
|
93
109
|
- use NamedTuple for SWCNames and SWCTypes ([300bfea](https://github.com/yzx9/swcgeom/commit/300bfeac92b90e09f262a850ecc226257c2af2e5))
|
|
94
110
|
|
|
95
|
-
|
|
96
111
|
### BREAKING CHANGES
|
|
97
112
|
|
|
98
113
|
- `core` \`Tree\` accpet values with custom names ([722f84f](https://github.com/yzx9/swcgeom/commit/722f84fdd71133d07e74b5f90171b3671a4fe4c9))
|
|
99
|
-
- `core` remove deprecated \`Tree\.Node\.
|
|
114
|
+
- `core` remove deprecated \`Tree\.Node\.get_branch\` and \`Node\.child_ids\` method ([1de86af](https://github.com/yzx9/swcgeom/commit/1de86afc21451be4c6bde5084688170d901eb625))
|
|
100
115
|
|
|
101
116
|
<br>
|
|
102
117
|
|
|
@@ -115,7 +130,7 @@
|
|
|
115
130
|
##### `transforms`
|
|
116
131
|
|
|
117
132
|
- generate image stack patch ([decd3a1](https://github.com/yzx9/swcgeom/commit/decd3a1ee63e1657aafa24ec5dfbf7439d25a551))
|
|
118
|
-
- add \`
|
|
133
|
+
- add \`extra_repr\` api ([ca19361](https://github.com/yzx9/swcgeom/commit/ca1936146783ebccc2ffe25596799580e89b3432))
|
|
119
134
|
|
|
120
135
|
### Bug Fixes
|
|
121
136
|
|
|
@@ -127,88 +142,98 @@
|
|
|
127
142
|
|
|
128
143
|
- should stack images ([8c9e0ab](https://github.com/yzx9/swcgeom/commit/8c9e0ab45c447d3d8121b0cc4178be5f65d18a56))
|
|
129
144
|
|
|
130
|
-
|
|
131
145
|
### BREAKING CHANGES
|
|
132
|
-
- `core` remove assembler module ([414533d](https://github.com/yzx9/swcgeom/commit/414533d17238ed45972dff1909cf025a19b7fa1e))
|
|
133
|
-
<br>
|
|
134
146
|
|
|
147
|
+
- `core` remove assembler module ([414533d](https://github.com/yzx9/swcgeom/commit/414533d17238ed45972dff1909cf025a19b7fa1e))
|
|
148
|
+
<br>
|
|
135
149
|
|
|
136
150
|
## **0.14.0** <sub><sup>2023-12-26 ([b9c95f5...cc22018](https://github.com/yzx9/swcgeom/compare/b9c95f58f725490f3b624233cc0be20b31605e53...cc22018ad79af18ecd812b932812a0ff40a0fe40?diff=split))</sup></sub>
|
|
137
151
|
|
|
138
152
|
### Features
|
|
139
153
|
|
|
140
154
|
##### `analysis`
|
|
141
|
-
|
|
155
|
+
|
|
156
|
+
- add high accuracy volume calculation ([9b51b74](https://github.com/yzx9/swcgeom/commit/9b51b7401efffc1b0cfbfecbdf3eb60300e1e114))
|
|
142
157
|
|
|
143
158
|
### Bug Fixes
|
|
144
159
|
|
|
145
160
|
##### `analysis`
|
|
146
|
-
|
|
161
|
+
|
|
162
|
+
- subtract volume between frustum cone ([dae116e](https://github.com/yzx9/swcgeom/commit/dae116e45146428f5cb61c696ff1d6804e03993c))
|
|
147
163
|
|
|
148
164
|
##### `utils`
|
|
149
|
-
|
|
165
|
+
|
|
166
|
+
- avoid numerical error ([a6bd4ad](https://github.com/yzx9/swcgeom/commit/a6bd4adc87e86dcaca2bcb45aee68cea51a540c0))
|
|
150
167
|
|
|
151
168
|
### Performance Improvements
|
|
152
169
|
|
|
153
170
|
##### `analysis`
|
|
154
|
-
|
|
171
|
+
|
|
172
|
+
- use bvh scene ([7a7b988](https://github.com/yzx9/swcgeom/commit/7a7b98864fd6d0378b0b696d2963353d0592b4d3))
|
|
155
173
|
|
|
156
174
|
##### `utils`
|
|
157
|
-
|
|
175
|
+
|
|
176
|
+
- use \`sdflit\` instead custom impl ([a47a190](https://github.com/yzx9/swcgeom/commit/a47a19091b46a1071140a12fb20105cdf851a85a))
|
|
158
177
|
|
|
159
178
|
### BREAKING CHANGES
|
|
160
|
-
* `transforms` rewrite image stack ([cc22018](https://github.com/yzx9/swcgeom/commit/cc22018ad79af18ecd812b932812a0ff40a0fe40))
|
|
161
179
|
|
|
162
|
-
|
|
180
|
+
- `transforms` rewrite image stack ([cc22018](https://github.com/yzx9/swcgeom/commit/cc22018ad79af18ecd812b932812a0ff40a0fe40))
|
|
163
181
|
|
|
182
|
+
<br>
|
|
164
183
|
|
|
165
184
|
## **0.13.2** <sub><sup>2023-12-16 ([10f330d...291ae2a](https://github.com/yzx9/swcgeom/compare/10f330d13b49aba19c043b91c42c183e1f9ad4d4...291ae2afde6d29d234e8f1b3521d3f221350e01e?diff=split))</sup></sub>
|
|
166
185
|
|
|
167
186
|
### Performance Improvements
|
|
168
|
-
* impl a direct algorithm for finding sphere\-line intersections ([410acad](https://github.com/yzx9/swcgeom/commit/410acad545df66d69f8f04d693310986e53f17f6))
|
|
169
187
|
|
|
170
|
-
|
|
188
|
+
- impl a direct algorithm for finding sphere\-line intersections ([410acad](https://github.com/yzx9/swcgeom/commit/410acad545df66d69f8f04d693310986e53f17f6))
|
|
171
189
|
|
|
190
|
+
<br>
|
|
172
191
|
|
|
173
192
|
## **0.13.1** <sub><sup>2023-12-15 ([0b5b45a...45b4040](https://github.com/yzx9/swcgeom/compare/0b5b45a7997a95298075635d32552dcd91002e4a...45b4040394b3d6a5636d069b5442945d9134b428?diff=split))</sup></sub>
|
|
174
193
|
|
|
175
194
|
### Bug Fixes
|
|
176
|
-
|
|
195
|
+
|
|
196
|
+
- import missing volume related file ([0b5b45a](https://github.com/yzx9/swcgeom/commit/0b5b45a7997a95298075635d32552dcd91002e4a))
|
|
177
197
|
|
|
178
198
|
##### `analysis`
|
|
179
|
-
|
|
199
|
+
|
|
200
|
+
- add volume between spheres ([b8c6dfe](https://github.com/yzx9/swcgeom/commit/b8c6dfe5d6cf53f35dbe8fccfb47d19a2b802753))
|
|
180
201
|
|
|
181
202
|
##### `utils`
|
|
182
|
-
* remove debug printting ([dd1569e](https://github.com/yzx9/swcgeom/commit/dd1569e5a02fef185050e2640ba583b3da60e3db))
|
|
183
|
-
* solve real values only ([2f7459b](https://github.com/yzx9/swcgeom/commit/2f7459b06b6a1f3b284f7bbec688ac871d232d1a))
|
|
184
203
|
|
|
185
|
-
|
|
204
|
+
- remove debug printting ([dd1569e](https://github.com/yzx9/swcgeom/commit/dd1569e5a02fef185050e2640ba583b3da60e3db))
|
|
205
|
+
- solve real values only ([2f7459b](https://github.com/yzx9/swcgeom/commit/2f7459b06b6a1f3b284f7bbec688ac871d232d1a))
|
|
186
206
|
|
|
207
|
+
<br>
|
|
187
208
|
|
|
188
209
|
## **0.13.0** <sub><sup>2023-12-14 ([e2add59...06239bd](https://github.com/yzx9/swcgeom/compare/e2add59652bfc02d802f6770ea2c5fbc3fd7d729...06239bd129e6fab329ec80326352b48049fb504e?diff=split))</sup></sub>
|
|
189
210
|
|
|
190
211
|
### Features
|
|
191
212
|
|
|
192
213
|
##### `analysis`
|
|
193
|
-
|
|
194
|
-
|
|
214
|
+
|
|
215
|
+
- import sholl plot ([b03b45c](https://github.com/yzx9/swcgeom/commit/b03b45c4f20f2ed57263b1c2398316533b45b837))
|
|
216
|
+
- calc volume of tree \(close \#9\) ([a5004da](https://github.com/yzx9/swcgeom/commit/a5004dab71e71e68fd4a512757c9310f557878cf))
|
|
195
217
|
|
|
196
218
|
##### `core`
|
|
197
|
-
|
|
219
|
+
|
|
220
|
+
- check if it has a cyclic \(\#1\) ([e2add59](https://github.com/yzx9/swcgeom/commit/e2add59652bfc02d802f6770ea2c5fbc3fd7d729))
|
|
198
221
|
|
|
199
222
|
##### `utils`
|
|
200
|
-
|
|
223
|
+
|
|
224
|
+
- transform batch of vec3 to vec4 ([d2d660c](https://github.com/yzx9/swcgeom/commit/d2d660ca53b9886a81b02193ea77f76da4620ffa))
|
|
201
225
|
|
|
202
226
|
### Bug Fixes
|
|
203
227
|
|
|
204
228
|
##### `utils`
|
|
205
|
-
|
|
229
|
+
|
|
230
|
+
- should support \`StringIO\` ([de439db](https://github.com/yzx9/swcgeom/commit/de439dba00ce7407d4ae18c9427eab1e5af4d95e))
|
|
206
231
|
|
|
207
232
|
### Performance Improvements
|
|
208
|
-
* improve dsu ([8b414c3](https://github.com/yzx9/swcgeom/commit/8b414c37f4fc3f4ded9c8b19eb8ee0ad52dedd53))
|
|
209
233
|
|
|
210
|
-
|
|
234
|
+
- improve dsu ([8b414c3](https://github.com/yzx9/swcgeom/commit/8b414c37f4fc3f4ded9c8b19eb8ee0ad52dedd53))
|
|
211
235
|
|
|
236
|
+
<br>
|
|
212
237
|
|
|
213
238
|
## **0.12.0** <sub><sup>2023-10-12 ([d9ba943...0824e9b](https://github.com/yzx9/swcgeom/compare/d9ba9433735c69edf979013632278e5f498a6fe0...0824e9b4110f820cd11c469ca6e319c1b2f14145?diff=split))</sup></sub>
|
|
214
239
|
|
|
@@ -216,51 +241,51 @@
|
|
|
216
241
|
|
|
217
242
|
##### `core`
|
|
218
243
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
244
|
+
- support read from io ([8fe9df8](https://github.com/yzx9/swcgeom/commit/8fe9df8459e8cef3cd6bde4ff3546e1a83871eda))
|
|
245
|
+
- get neurites and dendrites ([a9acfde](https://github.com/yzx9/swcgeom/commit/a9acfde5ab77bac22d36e7c461089f5159e6330a))
|
|
246
|
+
- add swc types ([7439288](https://github.com/yzx9/swcgeom/commit/7439288d199d558cd170600b07d1ab51a8489bc4))
|
|
247
|
+
- add type check in \`Tree\.Node\.is_soma\` ([35b53d6](https://github.com/yzx9/swcgeom/commit/35b53d68c30e444b0b8ae57519f8196c5dbdcb4d))
|
|
223
248
|
|
|
224
249
|
##### `images`
|
|
225
250
|
|
|
226
|
-
|
|
251
|
+
- support \`v3dpbd\` and \`v3draw\` \(close \#6\) ([ca8267d](https://github.com/yzx9/swcgeom/commit/ca8267d694f62abc59b9c8174efc91512a9ccec9))
|
|
227
252
|
|
|
228
253
|
##### `transforms`
|
|
229
254
|
|
|
230
|
-
|
|
231
|
-
|
|
255
|
+
- sort mst tree by default ([7878f3f](https://github.com/yzx9/swcgeom/commit/7878f3fdb9beeebd31ecfa7649611fdd03e34eff))
|
|
256
|
+
- add path transforms ([aaa1b1e](https://github.com/yzx9/swcgeom/commit/aaa1b1e3c718017ae18a52d91918b29c02f302b3))
|
|
232
257
|
|
|
233
258
|
##### `utils`
|
|
234
259
|
|
|
235
|
-
|
|
260
|
+
- change to utf\-8 encode ([45e971e](https://github.com/yzx9/swcgeom/commit/45e971eef9cc88abb8e1fca5f26b99e46fcb5aaf))
|
|
236
261
|
|
|
237
262
|
### Bug Fixes
|
|
238
263
|
|
|
239
264
|
##### `core`
|
|
240
265
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
266
|
+
- avoid duplicate cols comments ([f99eaf3](https://github.com/yzx9/swcgeom/commit/f99eaf3946846522d7eac1769f6a9a4fd20e8bf0))
|
|
267
|
+
- inherit source ([702efab](https://github.com/yzx9/swcgeom/commit/702efabb5db9a27e8eaed9d1feb45f24e6b4e808))
|
|
268
|
+
- remove original point when cat tree ([065125e](https://github.com/yzx9/swcgeom/commit/065125e7ccf0d3f6ef9ff9c7689a0e7aeb6be349))
|
|
244
269
|
|
|
245
270
|
##### `images`
|
|
246
271
|
|
|
247
|
-
|
|
272
|
+
- shape should be vec4i ([0824e9b](https://github.com/yzx9/swcgeom/commit/0824e9b4110f820cd11c469ca6e319c1b2f14145))
|
|
248
273
|
|
|
249
274
|
##### `transforms`
|
|
250
275
|
|
|
251
|
-
|
|
276
|
+
- add missing exports ([93bf8e6](https://github.com/yzx9/swcgeom/commit/93bf8e6076d8d7a3898a1ff88cbe05d855d1173c))
|
|
252
277
|
|
|
253
278
|
### Performance Improvements
|
|
254
279
|
|
|
255
280
|
##### `transforms`
|
|
256
281
|
|
|
257
|
-
|
|
282
|
+
- disable \`detach\` operation ([204d44c](https://github.com/yzx9/swcgeom/commit/204d44cbab563309d85f9c6f64793e5eda028547))
|
|
258
283
|
|
|
259
284
|
<br>
|
|
260
285
|
|
|
261
286
|
## **0.11.1** <sub><sup>2023-08-12 ([36fa413...36fa413](https://github.com/yzx9/swcgeom/compare/36fa4135f2001694b8caea74e82c5ffa1118e90d...36fa4135f2001694b8caea74e82c5ffa1118e90d?diff=split))</sup></sub>
|
|
262
287
|
|
|
263
|
-
|
|
288
|
+
_no relevant changes_
|
|
264
289
|
|
|
265
290
|
<br>
|
|
266
291
|
|
|
@@ -270,36 +295,36 @@
|
|
|
270
295
|
|
|
271
296
|
##### `analysis`
|
|
272
297
|
|
|
273
|
-
|
|
274
|
-
|
|
298
|
+
- draw trunk ([4d2e069](https://github.com/yzx9/swcgeom/commit/4d2e069a86a105c585425d730824c8f22a293d01))
|
|
299
|
+
- draw point at the start of subtree ([2c9938f](https://github.com/yzx9/swcgeom/commit/2c9938f9c75aaac807b136baa0f7bd0d8fc4af0a))
|
|
275
300
|
|
|
276
301
|
##### `core`
|
|
277
302
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
303
|
+
- detect swc encoding ([06087bd](https://github.com/yzx9/swcgeom/commit/06087bde32f68b559d0591479538dbf960b92bcd))
|
|
304
|
+
- preserve original swc comments\(close \#2\) ([ac49e25](https://github.com/yzx9/swcgeom/commit/ac49e253cf5a33a27a7e61c84b821d944307b857))
|
|
305
|
+
- accept non\-positive radius ([47c29b5](https://github.com/yzx9/swcgeom/commit/47c29b5503b0ff41ce678491d22ae715383fb2ee))
|
|
306
|
+
- accept space before comments in swc ([c075ec4](https://github.com/yzx9/swcgeom/commit/c075ec4063d387d35dcfdd0a021a3407ccd67770))
|
|
282
307
|
|
|
283
308
|
##### `utils`
|
|
284
309
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
310
|
+
- add neuromorpho related util ([4a22e3d](https://github.com/yzx9/swcgeom/commit/4a22e3d4b8ddf2265fe23106751c0e25232babef))
|
|
311
|
+
- convert neuromorpho lmdb to swc ([e48c1a8](https://github.com/yzx9/swcgeom/commit/e48c1a8b7e1397ae17921f36471fbc4ba1c2cff2))
|
|
312
|
+
- retry download neuromorpho ([ebd9255](https://github.com/yzx9/swcgeom/commit/ebd92557effe525d90c26f32dfa773fc4977f212))
|
|
313
|
+
- mark invalid neuromorpho data ([43a96c6](https://github.com/yzx9/swcgeom/commit/43a96c6e0872c82d4df10783687208ab959f7a11))
|
|
289
314
|
|
|
290
315
|
### Bug Fixes
|
|
291
316
|
|
|
292
317
|
##### `core`
|
|
293
318
|
|
|
294
|
-
|
|
319
|
+
- forward names ([52192ce](https://github.com/yzx9/swcgeom/commit/52192ceaa9b687fddb98c3767412aee6cc226ad8))
|
|
295
320
|
|
|
296
321
|
##### `transform`
|
|
297
322
|
|
|
298
|
-
|
|
323
|
+
- cut by dynamic type ([3293a67](https://github.com/yzx9/swcgeom/commit/3293a675830200c73761c48bc1990554f7d0c82c))
|
|
299
324
|
|
|
300
325
|
##### `utils`
|
|
301
326
|
|
|
302
|
-
|
|
327
|
+
- should throw http error ([7fb4ee2](https://github.com/yzx9/swcgeom/commit/7fb4ee2ca0ca4308c7d527bec9eb325d22ca0df7))
|
|
303
328
|
|
|
304
329
|
<br>
|
|
305
330
|
|
|
@@ -307,51 +332,51 @@
|
|
|
307
332
|
|
|
308
333
|
### Features
|
|
309
334
|
|
|
310
|
-
|
|
335
|
+
- dict\-like swc ([a1f52d7](https://github.com/yzx9/swcgeom/commit/a1f52d7ac3c03df6077fd038fd8833d1fef03c8e))
|
|
311
336
|
|
|
312
337
|
##### `analysis`
|
|
313
338
|
|
|
314
|
-
|
|
339
|
+
- add str input support ([f98aea5](https://github.com/yzx9/swcgeom/commit/f98aea59b5ab71196691423185d6a2f896c352c3))
|
|
315
340
|
|
|
316
341
|
##### `core`
|
|
317
342
|
|
|
318
|
-
|
|
343
|
+
- check if is sorted topology ([bc48787](https://github.com/yzx9/swcgeom/commit/bc487879ac6655de0a86504d24a2f67ba6afe848))
|
|
319
344
|
|
|
320
345
|
##### `images`
|
|
321
346
|
|
|
322
|
-
|
|
323
|
-
|
|
347
|
+
- detect tiff axes ([b1e44bb](https://github.com/yzx9/swcgeom/commit/b1e44bb8c35c299fdb5e4b8b3be61358d59ee7b6))
|
|
348
|
+
- change terafly to a left\-handed coordinate system ([b22b69a](https://github.com/yzx9/swcgeom/commit/b22b69acf7715388b0f818eb9c176bee6f39e60a))
|
|
324
349
|
|
|
325
350
|
##### `transforms`
|
|
326
351
|
|
|
327
|
-
|
|
328
|
-
|
|
352
|
+
- cut tree by type ([184482b](https://github.com/yzx9/swcgeom/commit/184482bbb5803e429ac788fa315c0638ad233754))
|
|
353
|
+
- reset radius ([e697e34](https://github.com/yzx9/swcgeom/commit/e697e34c3532dcaf6c9b2c1c8afd820d127f3303))
|
|
329
354
|
|
|
330
355
|
### Bug Fixes
|
|
331
356
|
|
|
332
357
|
##### `*`
|
|
333
358
|
|
|
334
|
-
|
|
359
|
+
- np\.nonzero returns a tuple ([091e6eb](https://github.com/yzx9/swcgeom/commit/091e6eb84a464e7ab3978ad74de891fa31f98803))
|
|
335
360
|
|
|
336
361
|
##### `core`
|
|
337
362
|
|
|
338
|
-
|
|
363
|
+
- forwarding init kwargs ([226b3ef](https://github.com/yzx9/swcgeom/commit/226b3efb32cdb6d421bc9aca5d6a5b2f0f0b6e3c))
|
|
339
364
|
|
|
340
365
|
##### `transforms`
|
|
341
366
|
|
|
342
|
-
|
|
367
|
+
- crop fixed shape ([e1078d3](https://github.com/yzx9/swcgeom/commit/e1078d33414ef02e27b93b9149bf776a6334b1ca))
|
|
343
368
|
|
|
344
369
|
### Performance Improvements
|
|
345
370
|
|
|
346
371
|
##### `transforms`
|
|
347
372
|
|
|
348
|
-
|
|
373
|
+
- flat transforms ([f824651](https://github.com/yzx9/swcgeom/commit/f824651e202015a29716dd441391bbb28f0a3bfa))
|
|
349
374
|
|
|
350
375
|
### BREAKING CHANGES
|
|
351
376
|
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
377
|
+
- `*` export common classes and methods only ([39de173](https://github.com/yzx9/swcgeom/commit/39de173fb3df8967a7edf46b269c216e73f2cb41))
|
|
378
|
+
- `core` set \`check_same\` arg to false by default ([0f576e9](https://github.com/yzx9/swcgeom/commit/0f576e9ba352138d4d138a15bd6f12ea3a8e48db))
|
|
379
|
+
- `images` change terafly to a left\-handed coordinate system ([b22b69a](https://github.com/yzx9/swcgeom/commit/b22b69acf7715388b0f818eb9c176bee6f39e60a))
|
|
355
380
|
|
|
356
381
|
<br>
|
|
357
382
|
|
|
@@ -377,6 +402,7 @@
|
|
|
377
402
|
### Bug Fixes
|
|
378
403
|
|
|
379
404
|
##### `core`
|
|
405
|
+
|
|
380
406
|
- change \`w\` to ones ([325ff1e](https://github.com/yzx9/swcgeom/commit/325ff1efe5cc662f7731003919f313cdd219caad))
|
|
381
407
|
|
|
382
408
|
### BREAKING CHANGES
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright [
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: swcgeom
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.18.1
|
|
4
4
|
Summary: Neuron geometry library for swc format
|
|
5
5
|
Author-email: yzx9 <yuan.zx@outlook.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -13,7 +13,7 @@ Requires-Dist: imagecodecs>=2023.3.16
|
|
|
13
13
|
Requires-Dist: matplotlib>=3.5.2
|
|
14
14
|
Requires-Dist: numpy>=1.22.3
|
|
15
15
|
Requires-Dist: pandas>=1.4.2
|
|
16
|
-
Requires-Dist: pynrrd>=1.
|
|
16
|
+
Requires-Dist: pynrrd>=1.1.0
|
|
17
17
|
Requires-Dist: scipy>=1.9.1
|
|
18
18
|
Requires-Dist: sdflit>=0.2.1
|
|
19
19
|
Requires-Dist: seaborn>=0.12.0
|
|
@@ -56,16 +56,20 @@ pip install build
|
|
|
56
56
|
pip install --editable .
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
Static analysis don't support import hook used in editable install for
|
|
59
|
+
Static analysis don't support import hook used in editable install for
|
|
60
|
+
[PEP660](https://peps.python.org/pep-0660/) since upgrade to setuptools v64+,
|
|
61
|
+
detail information at [setuptools#3518](https://github.com/pypa/setuptools/issues/3518),
|
|
62
|
+
a workaround for vscode with pylance:
|
|
60
63
|
|
|
61
64
|
```json
|
|
62
65
|
{
|
|
63
|
-
|
|
66
|
+
"python.analysis.extraPaths": ["/path/to/this/project"]
|
|
64
67
|
}
|
|
65
68
|
```
|
|
66
69
|
|
|
67
70
|
## LICENSE
|
|
68
71
|
|
|
69
|
-
This work is licensed under a
|
|
72
|
+
This work is licensed under a
|
|
73
|
+
<a rel="license" href="https://www.apache.org/licenses/">Apache-2.0</a>.
|
|
70
74
|
|
|
71
75
|
Copyright (c) 2022-present, Zexin Yuan
|
|
@@ -25,16 +25,20 @@ pip install build
|
|
|
25
25
|
pip install --editable .
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
Static analysis don't support import hook used in editable install for
|
|
28
|
+
Static analysis don't support import hook used in editable install for
|
|
29
|
+
[PEP660](https://peps.python.org/pep-0660/) since upgrade to setuptools v64+,
|
|
30
|
+
detail information at [setuptools#3518](https://github.com/pypa/setuptools/issues/3518),
|
|
31
|
+
a workaround for vscode with pylance:
|
|
29
32
|
|
|
30
33
|
```json
|
|
31
34
|
{
|
|
32
|
-
|
|
35
|
+
"python.analysis.extraPaths": ["/path/to/this/project"]
|
|
33
36
|
}
|
|
34
37
|
```
|
|
35
38
|
|
|
36
39
|
## LICENSE
|
|
37
40
|
|
|
38
|
-
This work is licensed under a
|
|
41
|
+
This work is licensed under a
|
|
42
|
+
<a rel="license" href="https://www.apache.org/licenses/">Apache-2.0</a>.
|
|
39
43
|
|
|
40
44
|
Copyright (c) 2022-present, Zexin Yuan
|