metamorph-mda-parser 0.1.5__tar.gz → 0.2.0__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.
- metamorph_mda_parser-0.2.0/.github/dependabot.yml +11 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/.github/workflows/publish.yml +6 -6
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/.github/workflows/test.yml +7 -5
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/.gitignore +3 -1
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/PKG-INFO +8 -6
- metamorph_mda_parser-0.2.0/hk.pkl +9 -0
- metamorph_mda_parser-0.2.0/pixi.lock +8226 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/pyproject.toml +19 -13
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/src/metamorph_mda_parser/nd.py +31 -5
- metamorph_mda_parser-0.2.0/src/metamorph_mda_parser/xarray.py +71 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/tests/test_nd.py +22 -1
- metamorph_mda_parser-0.1.5/pixi.lock +0 -6627
- metamorph_mda_parser-0.1.5/src/metamorph_mda_parser/xarray.py +0 -51
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/.gitattributes +0 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/LICENSE.txt +0 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/README.md +0 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/src/metamorph_mda_parser/__init__.py +0 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/src/metamorph_mda_parser/lark.py +0 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/src/metamorph_mda_parser/nd_grammar.lark +0 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/tests/resources/data/sample_3ch_2pos_mixed-z.nd +0 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/tests/resources/data/sample_3ch_2pos_mixed-z_w1Conf640_s1.tif +0 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/tests/resources/data/sample_3ch_2pos_mixed-z_w1Conf640_s2.tif +0 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/tests/resources/data/sample_3ch_2pos_mixed-z_w2Conf561_s1.stk +0 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/tests/resources/data/sample_3ch_2pos_mixed-z_w2Conf561_s2.stk +0 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/tests/resources/data/sample_3ch_2pos_mixed-z_w3Conf488_s1.stk +0 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/tests/resources/data/sample_3ch_2pos_mixed-z_w3Conf488_s2.stk +0 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/tests/resources/sample_2ch_75pos_361t.nd +0 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/tests/resources/sample_4ch_1pos_1z.nd +0 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/tests/resources/sample_4ch_4pos.nd +0 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/tests/test_xarray.py +0 -0
- {metamorph_mda_parser-0.1.5 → metamorph_mda_parser-0.2.0}/tests/test_xarray_conditional.py +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# To get started with Dependabot version updates, you'll need to specify which
|
|
2
|
+
# package ecosystems to update and where the package manifests are located.
|
|
3
|
+
# Please see the documentation for all configuration options:
|
|
4
|
+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
|
|
5
|
+
|
|
6
|
+
version: 2
|
|
7
|
+
updates:
|
|
8
|
+
- package-ecosystem: "github-actions" # See documentation for possible values
|
|
9
|
+
directory: "/" # Location of package manifests
|
|
10
|
+
schedule:
|
|
11
|
+
interval: "monthly"
|
|
@@ -22,12 +22,12 @@ jobs:
|
|
|
22
22
|
|
|
23
23
|
steps:
|
|
24
24
|
- name: Checkout code
|
|
25
|
-
uses: actions/checkout@
|
|
25
|
+
uses: actions/checkout@v7
|
|
26
26
|
with:
|
|
27
27
|
fetch-depth: 0
|
|
28
28
|
|
|
29
29
|
- name: Set up Python
|
|
30
|
-
uses: actions/setup-python@
|
|
30
|
+
uses: actions/setup-python@v7
|
|
31
31
|
with:
|
|
32
32
|
python-version: '3.11'
|
|
33
33
|
cache: 'pip'
|
|
@@ -44,7 +44,7 @@ jobs:
|
|
|
44
44
|
run: hatch test
|
|
45
45
|
|
|
46
46
|
- name: Upload artifacts
|
|
47
|
-
uses: actions/upload-artifact@
|
|
47
|
+
uses: actions/upload-artifact@v7
|
|
48
48
|
with:
|
|
49
49
|
name: python-artifacts
|
|
50
50
|
path: dist/*
|
|
@@ -63,13 +63,13 @@ jobs:
|
|
|
63
63
|
|
|
64
64
|
steps:
|
|
65
65
|
- name: Download Python artifacts
|
|
66
|
-
uses: actions/download-artifact@
|
|
66
|
+
uses: actions/download-artifact@v8
|
|
67
67
|
with:
|
|
68
68
|
name: python-artifacts
|
|
69
69
|
path: dist
|
|
70
70
|
- name: Add assets to release
|
|
71
|
-
uses: softprops/action-gh-release@
|
|
71
|
+
uses: softprops/action-gh-release@v3
|
|
72
72
|
with:
|
|
73
73
|
files: dist/*
|
|
74
74
|
- name: Publish package distributions to PyPI
|
|
75
|
-
uses: pypa/gh-action-pypi-publish@v1.
|
|
75
|
+
uses: pypa/gh-action-pypi-publish@v1.14.2
|
|
@@ -23,17 +23,19 @@ jobs:
|
|
|
23
23
|
matrix:
|
|
24
24
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
25
25
|
pixi-environment:
|
|
26
|
-
- py310-base
|
|
27
|
-
- py310-xarray
|
|
28
26
|
- py311-base
|
|
29
27
|
- py311-xarray
|
|
30
28
|
- py312-base
|
|
31
29
|
- py312-xarray
|
|
30
|
+
- py313-base
|
|
31
|
+
- py313-xarray
|
|
32
|
+
- py314-base
|
|
33
|
+
- py314-xarray
|
|
32
34
|
steps:
|
|
33
|
-
- uses: actions/checkout@
|
|
35
|
+
- uses: actions/checkout@v7
|
|
34
36
|
|
|
35
37
|
- name: Set up Pixi
|
|
36
|
-
uses: prefix-dev/setup-pixi@v0.
|
|
38
|
+
uses: prefix-dev/setup-pixi@v0.10.2
|
|
37
39
|
with:
|
|
38
40
|
cache: true
|
|
39
41
|
environments: ${{ matrix.pixi-environment }}
|
|
@@ -42,6 +44,6 @@ jobs:
|
|
|
42
44
|
run: pixi run --environment ${{ matrix.pixi-environment }} cov-xml
|
|
43
45
|
|
|
44
46
|
- name: Upload coverage reports to Codecov
|
|
45
|
-
uses: codecov/codecov-action@
|
|
47
|
+
uses: codecov/codecov-action@v7
|
|
46
48
|
with:
|
|
47
49
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: metamorph-mda-parser
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: Light-weight parsing of Metamorph/VisiView .nd files.
|
|
5
5
|
Project-URL: Documentation, https://github.com/fmi-faim/metamorph-mda-parser#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/fmi-faim/metamorph-mda-parser/issues
|
|
7
7
|
Project-URL: Source, https://github.com/fmi-faim/metamorph-mda-parser
|
|
8
8
|
Author-email: Jan Eglinger <jan.eglinger@fmi.ch>
|
|
9
|
-
License: BSD-3-Clause
|
|
9
|
+
License-Expression: BSD-3-Clause
|
|
10
|
+
License-File: LICENSE.txt
|
|
10
11
|
Classifier: Development Status :: 4 - Beta
|
|
11
12
|
Classifier: Programming Language :: Python
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
17
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
16
18
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
17
|
-
Requires-Python: >=3.
|
|
19
|
+
Requires-Python: >=3.11
|
|
18
20
|
Requires-Dist: lark
|
|
19
21
|
Requires-Dist: pandas
|
|
20
22
|
Requires-Dist: pydantic
|
|
21
23
|
Provides-Extra: xarray
|
|
22
24
|
Requires-Dist: dask; extra == 'xarray'
|
|
23
|
-
Requires-Dist: numpy
|
|
25
|
+
Requires-Dist: numpy; extra == 'xarray'
|
|
24
26
|
Requires-Dist: tifffile; extra == 'xarray'
|
|
25
27
|
Requires-Dist: xarray; extra == 'xarray'
|
|
26
28
|
Requires-Dist: zarr; extra == 'xarray'
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
amends "package://github.com/jdx/hk/releases/download/v2.0.0/hk@2.0.0#/Config.pkl"
|
|
2
|
+
import "package://github.com/jdx/hk/releases/download/v2.0.0/hk@2.0.0#/Builtins.pkl"
|
|
3
|
+
|
|
4
|
+
steps {
|
|
5
|
+
["ruff"] = Builtins.ruff
|
|
6
|
+
["ruff-format"] = (Builtins.ruff_format) {
|
|
7
|
+
depends = "ruff"
|
|
8
|
+
}
|
|
9
|
+
}
|