8000 Update installation instructions by Czaki · Pull Request #3 · 4DNucleome/PartSeg-smfish · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update installation instructions #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading 8000
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10']
python-version: ['3.9', '3.10', '3.12']

steps:
- uses: actions/checkout@v3
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.6.0
hooks:
- id: check-docstring-first
- id: end-of-file-fixer
- id: trailing-whitespace
exclude: ^.napari-hub/*
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/asottile/pyupgrade
rev: v3.1.0
rev: v3.17.0
hooks:
- id: pyupgrade
args: [--py38-plus, --keep-runtime-typing]
- repo: https://github.com/myint/autoflake
rev: v1.7.7
rev: v2.3.1
hooks:
- id: autoflake
args: ["--in-place", "--remove-all-unused-imports"]
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 7.1.1
hooks:
- id: flake8
additional_dependencies: [flake8-typing-imports>=1.9.0]
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,20 @@ To install latest development version :

pip install git+https://github.com/4DNucleome/PartSeg-smfish.git

## Installation in bundled PartSeg

It is possible to ues PartSeg-smfish in bundled PartSeg.
To do this download PartSeg from PartSeg webpage https://partseg.github.io/#download_bundle
or from github release page https://github.com/4DNucleome/PartSeg/releases.

Then download `PartSeg-smfish` from this repository using link
https://github.com/4DNucleome/PartSeg-smfish/archive/refs/heads/main.zip

Unzip the downloaded file and copy `PartSeg_smfish` folder from `src` to `PartSeg`
folder in the downloaded `PartSeg/_internal/plugins`.




## Contributing

Expand Down
2 changes: 1 addition & 1 deletion src/PartSeg_smfish/segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
AlgorithmSelection,
ROIExtractionProfile,
)
from PartSegImage import Channel
from PartSegCore.convex_fill import convex_fill
from PartSegCore.image_operations import gaussian
from PartSegCore.segmentation import ROIExtractionAlgorithm
Expand All @@ -37,6 +36,7 @@
ThresholdSelection,
)
from PartSegCore.utils import BaseModel
from PartSegImage import Channel
from PartSegImage import Image as PSImage
from pydantic import Field

Expand Down
Loading
0