Skip to content
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

Release #13

Merged
merged 4 commits into from
Dec 13, 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
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.10
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# LSFM-fusion-napari
# lsfm_fusion_napari

[![License BSD-3](https://img.shields.io/pypi/l/LSFM-fusion-napari.svg?color=green)](https://github.com/peng-lab/LSFM-fusion-napari/raw/main/LICENSE)
[![PyPI](https://img.shields.io/pypi/v/LSFM-fusion-napari.svg?color=green)](https://pypi.org/project/LSFM-fusion-napari)
Expand All @@ -7,7 +7,7 @@
[![codecov](https://codecov.io/gh/peng-lab/LSFM-fusion-napari/branch/main/graph/badge.svg)](https://codecov.io/gh/peng-lab/LSFM-fusion-napari)
[![napari hub](https://img.shields.io/endpoint?url=https://api.napari-hub.org/shields/LSFM-fusion-napari)](https://napari-hub.org/plugins/LSFM-fusion-napari)

A simple plugin to use FooBar segmentation within napari
A simple plugin to fuse LSFM images

----------------------------------

Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "LSFM-fusion-napari"
dynamic = ["version"]
description = "A simple plugin to use FooBar segmentation within napari"
description = "A simple plugin to fuse LSFM images"
readme = "README.md"
license = {file = "LICENSE"}
authors = [
Expand All @@ -20,7 +20,6 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Image Processing",
]
requires-python = ">=3.9"
Expand Down Expand Up @@ -69,7 +68,7 @@ version = {attr = "lsfm_fusion_napari.__init__.__version__"}

[tool.black]
line-length = 79
target-version = ['py38', 'py39', 'py310']
target-version = ['py39', 'py310']

[tool.ruff]
line-length = 79
Expand Down Expand Up @@ -114,5 +113,5 @@ exclude = [
"*_vendor*",
]

target-version = "py38"
target-version = "py310"
fix = true
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup

setup()
2 changes: 1 addition & 1 deletion src/lsfm_fusion_napari/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.0.1"
__version__ = "0.1.0"
from ._widget import FusionWidget
from ._writer import write_tiff

Expand Down
12 changes: 6 additions & 6 deletions src/lsfm_fusion_napari/napari.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: lsfm-fusion-napari
name: lsfm_fusion_napari
display_name: Leonardo-fusion
# see https://napari.org/stable/plugins/manifest.html for valid categories
categories: ["Annotation", "Segmentation", "Acquisition"]
categories: ["Visualization", "Image Processing"]
contributions:
commands:
- id: LSFM-fusion-napari.write_tiff
- id: lsfm_fusion_napari.write_tiff
python_name: lsfm_fusion_napari._writer:write_tiff
title: Save image data with LSFM Fusion
- id: LSFM-fusion-napari.make_qwidget
- id: lsfm_fusion_napari.make_qwidget
python_name: lsfm_fusion_napari:FusionWidget
title: Make Fusion Widget
writers:
- command: LSFM-fusion-napari.write_tiff
- command: lsfm_fusion_napari.write_tiff
layer_types: ['image']
filename_extensions: ['.tiff']
widgets:
- command: LSFM-fusion-napari.make_qwidget
- command: lsfm_fusion_napari.make_qwidget
display_name: Fusion Widget
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
envlist = py38, py39
envlist = py38, py39, p310
isolated_build=true

[testenv]
Expand Down
Loading