napari-dm4topng 0.1.dev3__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.
- napari_dm4topng-0.1.dev3/.copier-answers.yml +18 -0
- napari_dm4topng-0.1.dev3/.github/ISSUE_TEMPLATE/bug_report.yml +87 -0
- napari_dm4topng-0.1.dev3/.github/ISSUE_TEMPLATE/documentation.md +11 -0
- napari_dm4topng-0.1.dev3/.github/ISSUE_TEMPLATE/feature_request.md +27 -0
- napari_dm4topng-0.1.dev3/.github/ISSUE_TEMPLATE/task.md +11 -0
- napari_dm4topng-0.1.dev3/.github/PULL_REQUEST_TEMPLATE.md +12 -0
- napari_dm4topng-0.1.dev3/.github/workflows/test_and_deploy.yml +92 -0
- napari_dm4topng-0.1.dev3/.gitignore +84 -0
- napari_dm4topng-0.1.dev3/LICENSE +675 -0
- napari_dm4topng-0.1.dev3/PKG-INFO +100 -0
- napari_dm4topng-0.1.dev3/README.md +68 -0
- napari_dm4topng-0.1.dev3/pyproject.toml +108 -0
- napari_dm4topng-0.1.dev3/setup.cfg +4 -0
- napari_dm4topng-0.1.dev3/src/napari_dm4topng/__init__.py +6 -0
- napari_dm4topng-0.1.dev3/src/napari_dm4topng/_version.py +24 -0
- napari_dm4topng-0.1.dev3/src/napari_dm4topng/_widget.py +691 -0
- napari_dm4topng-0.1.dev3/src/napari_dm4topng/napari.yaml +17 -0
- napari_dm4topng-0.1.dev3/src/napari_dm4topng.egg-info/PKG-INFO +100 -0
- napari_dm4topng-0.1.dev3/src/napari_dm4topng.egg-info/SOURCES.txt +26 -0
- napari_dm4topng-0.1.dev3/src/napari_dm4topng.egg-info/dependency_links.txt +1 -0
- napari_dm4topng-0.1.dev3/src/napari_dm4topng.egg-info/entry_points.txt +2 -0
- napari_dm4topng-0.1.dev3/src/napari_dm4topng.egg-info/requires.txt +9 -0
- napari_dm4topng-0.1.dev3/src/napari_dm4topng.egg-info/scm_file_list.json +21 -0
- napari_dm4topng-0.1.dev3/src/napari_dm4topng.egg-info/scm_version.json +8 -0
- napari_dm4topng-0.1.dev3/src/napari_dm4topng.egg-info/top_level.txt +1 -0
- napari_dm4topng-0.1.dev3/tests/__init__.py +0 -0
- napari_dm4topng-0.1.dev3/tests/test_widget.py +9 -0
- napari_dm4topng-0.1.dev3/tox.ini +33 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
|
|
2
|
+
_commit: v2.3.0
|
|
3
|
+
_src_path: https://github.com/napari/napari-plugin-template
|
|
4
|
+
display_name: Dm4toPNG
|
|
5
|
+
email: jules.vanaret@epfl.ch
|
|
6
|
+
full_name: jules-vanaret
|
|
7
|
+
github_repository_url: provide later
|
|
8
|
+
github_username_or_organization: jules-vanaret
|
|
9
|
+
include_reader_plugin: false
|
|
10
|
+
include_sample_data_plugin: false
|
|
11
|
+
include_widget_plugin: true
|
|
12
|
+
include_writer_plugin: false
|
|
13
|
+
install_dependabot: false
|
|
14
|
+
install_precommit: false
|
|
15
|
+
license: GNU GPL v3.0
|
|
16
|
+
module_name: napari_dm4topng
|
|
17
|
+
plugin_name: napari-dm4topng
|
|
18
|
+
short_description: A
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
name: "\U0001F41B Bug Report"
|
|
2
|
+
description: Report a bug encountered while using napari-dm4topng
|
|
3
|
+
labels:
|
|
4
|
+
- "bug"
|
|
5
|
+
|
|
6
|
+
body:
|
|
7
|
+
- type: markdown
|
|
8
|
+
attributes:
|
|
9
|
+
value: |
|
|
10
|
+
Thanks for taking the time to report this issue! 🙏🏼
|
|
11
|
+
|
|
12
|
+
Please fill out the sections below to help us reproduce the problem.
|
|
13
|
+
|
|
14
|
+
- type: textarea
|
|
15
|
+
id: bug-report
|
|
16
|
+
attributes:
|
|
17
|
+
label: "\U0001F41B Bug Report"
|
|
18
|
+
description: "Please provide a clear and concise description of the bug."
|
|
19
|
+
placeholder: "What went wrong? What did you expect to happen?"
|
|
20
|
+
validations:
|
|
21
|
+
required: true
|
|
22
|
+
|
|
23
|
+
- type: textarea
|
|
24
|
+
id: steps-to-reproduce
|
|
25
|
+
attributes:
|
|
26
|
+
label: "\U0001F4A1 Steps to Reproduce"
|
|
27
|
+
description: "Please provide a minimal code snippet or list of steps to reproduce the bug."
|
|
28
|
+
placeholder: |
|
|
29
|
+
1. Go to '...'
|
|
30
|
+
2. Click on '....'
|
|
31
|
+
3. Scroll down to '....'
|
|
32
|
+
4. See error
|
|
33
|
+
validations:
|
|
34
|
+
required: true
|
|
35
|
+
|
|
36
|
+
- type: textarea
|
|
37
|
+
id: expected-behavior
|
|
38
|
+
attributes:
|
|
39
|
+
label: "\U0001F4A1 Expected Behavior"
|
|
40
|
+
description: "Please provide a clear and concise description of what you expected to happen."
|
|
41
|
+
placeholder: "What did you expect to happen?"
|
|
42
|
+
|
|
43
|
+
- type: textarea
|
|
44
|
+
id: environment
|
|
45
|
+
attributes:
|
|
46
|
+
label: "\U0001F30E Environment"
|
|
47
|
+
description: |
|
|
48
|
+
Please provide detailed information regarding your environment. Please paste the output of `napari --info` here or copy the information from the "napari info" dialog in the napari Help menu.
|
|
49
|
+
|
|
50
|
+
Otherwise, please provide information regarding your operating system (OS), Python version, napari version, Qt backend and version, Qt platform, method of installation, and any other relevant information related to your environment.
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
placeholder: |
|
|
54
|
+
napari: 0.5.0
|
|
55
|
+
Platform: macOS-13.2.1-arm64-arm-64bit
|
|
56
|
+
System: MacOS 13.2.1
|
|
57
|
+
Python: 3.11.4 (main, Aug 7 2023, 20:34:01) [Clang 14.0.3 (clang-1403.0.22.14.1)]
|
|
58
|
+
Qt: 5.15.10
|
|
59
|
+
PyQt5: 5.15.10
|
|
60
|
+
NumPy: 1.25.1
|
|
61
|
+
SciPy: 1.11.1
|
|
62
|
+
Dask: 2023.7.1
|
|
63
|
+
VisPy: 0.13.0
|
|
64
|
+
magicgui: 0.7.2
|
|
65
|
+
superqt: 0.5.4
|
|
66
|
+
in-n-out: 0.1.8
|
|
67
|
+
app-model: 0.2.0
|
|
68
|
+
npe2: 0.7.2
|
|
69
|
+
|
|
70
|
+
OpenGL:
|
|
71
|
+
- GL version: 2.1 Metal - 83
|
|
72
|
+
- MAX_TEXTURE_SIZE: 16384
|
|
73
|
+
|
|
74
|
+
Screens:
|
|
75
|
+
- screen 1: resolution 1512x982, scale 2.0
|
|
76
|
+
|
|
77
|
+
Settings path:
|
|
78
|
+
- /Users/.../napari/napari_5c6993c40c104085444cfc0c77fa392cb5cb8f56/settings.yaml
|
|
79
|
+
validations:
|
|
80
|
+
required: true
|
|
81
|
+
|
|
82
|
+
- type: textarea
|
|
83
|
+
id: additional-context
|
|
84
|
+
attributes:
|
|
85
|
+
label: "\U0001F4A1 Additional Context"
|
|
86
|
+
description: "Please provide any additional information or context regarding the problem here."
|
|
87
|
+
placeholder: "Add any other context about the problem here."
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "\U0001F4DA Documentation"
|
|
3
|
+
about: Report an issue with napari-dm4topng documentation
|
|
4
|
+
title: ''
|
|
5
|
+
labels: documentation
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 📚 Documentation
|
|
11
|
+
<!-- A clear and concise description of the documentation that needs to be created/updated -->
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "\U0001F680 Feature Request"
|
|
3
|
+
about: Submit a proposal/request for a new napari-dm4topng feature
|
|
4
|
+
title: ''
|
|
5
|
+
labels: feature
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 🚀 Feature
|
|
11
|
+
<!-- A clear and concise description of the feature proposal -->
|
|
12
|
+
|
|
13
|
+
## Motivation
|
|
14
|
+
|
|
15
|
+
<!-- Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too -->
|
|
16
|
+
|
|
17
|
+
## Pitch
|
|
18
|
+
|
|
19
|
+
<!-- A clear and concise description of what you want to happen. -->
|
|
20
|
+
|
|
21
|
+
## Alternatives
|
|
22
|
+
|
|
23
|
+
<!-- A clear and concise description of any alternative solutions or features you've considered, if any. -->
|
|
24
|
+
|
|
25
|
+
## Additional context
|
|
26
|
+
|
|
27
|
+
<!-- Add any other context or screenshots about the feature request here. -->
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# References and relevant issues
|
|
2
|
+
<!-- What relevant resources were used in the creation of this PR?
|
|
3
|
+
If this PR addresses an existing issue on the repo,
|
|
4
|
+
please link to that issue here as "Closes #(issue-number)"
|
|
5
|
+
If this PR depends on another PR/issue (even in another repo),
|
|
6
|
+
please link to it with "Depends on #PR-number" or "Depends on org/repo#PR-number"
|
|
7
|
+
-->
|
|
8
|
+
|
|
9
|
+
# Description
|
|
10
|
+
<!-- What does this pull request (PR) do? Is it a new feature, a bug fix,
|
|
11
|
+
an improvement, or something else? Why is it necessary? If relevant, please add
|
|
12
|
+
a screenshot or a screen capture: "An image is worth a thousand words!" -->
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# This workflows will upload a Python Package using Twine when a release is created
|
|
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
|
+
name: tests
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
branches:
|
|
8
|
+
- main
|
|
9
|
+
tags:
|
|
10
|
+
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
|
|
11
|
+
pull_request:
|
|
12
|
+
branches:
|
|
13
|
+
- main
|
|
14
|
+
workflow_dispatch:
|
|
15
|
+
|
|
16
|
+
concurrency:
|
|
17
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
18
|
+
cancel-in-progress: true
|
|
19
|
+
|
|
20
|
+
jobs:
|
|
21
|
+
test:
|
|
22
|
+
name: ${{ matrix.platform }} py${{ matrix.python-version }}
|
|
23
|
+
runs-on: ${{ matrix.platform }}
|
|
24
|
+
timeout-minutes: 30
|
|
25
|
+
permissions:
|
|
26
|
+
id-token: write # needed for codecov OIDC authentication
|
|
27
|
+
strategy:
|
|
28
|
+
fail-fast: false
|
|
29
|
+
matrix:
|
|
30
|
+
platform: [ubuntu-latest]
|
|
31
|
+
python-version: ["3.11", "3.12", "3.13", "3.14"]
|
|
32
|
+
include:
|
|
33
|
+
- platform: windows-latest
|
|
34
|
+
python-version: "3.12"
|
|
35
|
+
- platform: macos-latest
|
|
36
|
+
python-version: "3.12"
|
|
37
|
+
|
|
38
|
+
steps:
|
|
39
|
+
- uses: actions/checkout@v7
|
|
40
|
+
|
|
41
|
+
- name: Setup python
|
|
42
|
+
uses: astral-sh/setup-uv@v7
|
|
43
|
+
with:
|
|
44
|
+
python-version: ${{ matrix.python-version }}
|
|
45
|
+
activate-environment: "true"
|
|
46
|
+
- name: Setup headless display
|
|
47
|
+
uses: pyvista/setup-headless-display-action@v4.3
|
|
48
|
+
with:
|
|
49
|
+
qt: true
|
|
50
|
+
wm: herbstluftwm
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
# note: if you need dependencies from conda, considering using
|
|
54
|
+
# setup-miniconda: https://github.com/conda-incubator/setup-miniconda
|
|
55
|
+
# and
|
|
56
|
+
# tox-conda: https://github.com/tox-dev/tox-conda
|
|
57
|
+
# this runs the platform-specific tests declared in tox.ini
|
|
58
|
+
- name: Test with tox
|
|
59
|
+
run: uvx --with tox-gh-actions tox
|
|
60
|
+
env:
|
|
61
|
+
PLATFORM: ${{ matrix.platform }}
|
|
62
|
+
|
|
63
|
+
- name: Coverage
|
|
64
|
+
uses: codecov/codecov-action@v7
|
|
65
|
+
with:
|
|
66
|
+
use_oidc: true # reliable tokenless codecov uploads
|
|
67
|
+
|
|
68
|
+
build-and-inspect-package:
|
|
69
|
+
name: Build & inspect package.
|
|
70
|
+
runs-on: ubuntu-latest
|
|
71
|
+
|
|
72
|
+
steps:
|
|
73
|
+
- uses: actions/checkout@v7
|
|
74
|
+
- uses: hynek/build-and-inspect-python-package@v2
|
|
75
|
+
|
|
76
|
+
deploy:
|
|
77
|
+
# this will run when you have tagged a commit, starting with "v*"
|
|
78
|
+
# and requires that you have put your twine API key in your
|
|
79
|
+
# github secrets (see readme for details)
|
|
80
|
+
needs: [test, build-and-inspect-package]
|
|
81
|
+
runs-on: ubuntu-latest
|
|
82
|
+
if: contains(github.ref, 'tags')
|
|
83
|
+
permissions:
|
|
84
|
+
id-token: write
|
|
85
|
+
steps:
|
|
86
|
+
- name: Download built artifact to dist/
|
|
87
|
+
uses: actions/download-artifact@v8
|
|
88
|
+
with:
|
|
89
|
+
name: Packages
|
|
90
|
+
path: dist
|
|
91
|
+
- name: Publish to PyPI
|
|
92
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
env/
|
|
12
|
+
build/
|
|
13
|
+
develop-eggs/
|
|
14
|
+
dist/
|
|
15
|
+
downloads/
|
|
16
|
+
eggs/
|
|
17
|
+
.eggs/
|
|
18
|
+
lib/
|
|
19
|
+
lib64/
|
|
20
|
+
parts/
|
|
21
|
+
sdist/
|
|
22
|
+
var/
|
|
23
|
+
*.egg-info/
|
|
24
|
+
.installed.cfg
|
|
25
|
+
*.egg
|
|
26
|
+
|
|
27
|
+
# PyInstaller
|
|
28
|
+
# Usually these files are written by a python script from a template
|
|
29
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
30
|
+
*.manifest
|
|
31
|
+
*.spec
|
|
32
|
+
|
|
33
|
+
# Installer logs
|
|
34
|
+
pip-log.txt
|
|
35
|
+
pip-delete-this-directory.txt
|
|
36
|
+
|
|
37
|
+
# Unit test / coverage reports
|
|
38
|
+
htmlcov/
|
|
39
|
+
.tox/
|
|
40
|
+
.coverage
|
|
41
|
+
.coverage.*
|
|
42
|
+
.cache
|
|
43
|
+
nosetests.xml
|
|
44
|
+
coverage.xml
|
|
45
|
+
*,cover
|
|
46
|
+
.hypothesis/
|
|
47
|
+
.napari_cache
|
|
48
|
+
|
|
49
|
+
# Translations
|
|
50
|
+
*.mo
|
|
51
|
+
*.pot
|
|
52
|
+
|
|
53
|
+
# Django stuff:
|
|
54
|
+
*.log
|
|
55
|
+
local_settings.py
|
|
56
|
+
|
|
57
|
+
# Flask instance folder
|
|
58
|
+
instance/
|
|
59
|
+
|
|
60
|
+
# Sphinx documentation
|
|
61
|
+
docs/_build/
|
|
62
|
+
|
|
63
|
+
# MkDocs documentation
|
|
64
|
+
/site/
|
|
65
|
+
|
|
66
|
+
# PyBuilder
|
|
67
|
+
target/
|
|
68
|
+
|
|
69
|
+
# Pycharm and VSCode
|
|
70
|
+
.idea/
|
|
71
|
+
venv/
|
|
72
|
+
.vscode/
|
|
73
|
+
|
|
74
|
+
# IPython Notebook
|
|
75
|
+
.ipynb_checkpoints
|
|
76
|
+
|
|
77
|
+
# pyenv
|
|
78
|
+
.python-version
|
|
79
|
+
|
|
80
|
+
# OS
|
|
81
|
+
.DS_Store
|
|
82
|
+
|
|
83
|
+
# written by setuptools_scm
|
|
84
|
+
**/_version.py
|