metamorph-mda-parser 0.0.2__tar.gz → 0.1.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.1.0/.gitattributes +2 -0
- {metamorph_mda_parser-0.0.2 → metamorph_mda_parser-0.1.0}/.github/workflows/publish.yml +1 -1
- metamorph_mda_parser-0.1.0/.github/workflows/test.yml +42 -0
- metamorph_mda_parser-0.1.0/.gitignore +6 -0
- {metamorph_mda_parser-0.0.2 → metamorph_mda_parser-0.1.0}/PKG-INFO +8 -1
- {metamorph_mda_parser-0.0.2 → metamorph_mda_parser-0.1.0}/README.md +1 -0
- metamorph_mda_parser-0.1.0/pixi.lock +7804 -0
- {metamorph_mda_parser-0.0.2 → metamorph_mda_parser-0.1.0}/pyproject.toml +58 -21
- {metamorph_mda_parser-0.0.2 → metamorph_mda_parser-0.1.0}/src/metamorph_mda_parser/nd.py +15 -0
- metamorph_mda_parser-0.1.0/src/metamorph_mda_parser/xarray.py +51 -0
- metamorph_mda_parser-0.1.0/tests/resources/data/sample_3ch_2pos_mixed-z.nd +21 -0
- metamorph_mda_parser-0.1.0/tests/resources/data/sample_3ch_2pos_mixed-z_w1Conf640_s1.tif +0 -0
- metamorph_mda_parser-0.1.0/tests/resources/data/sample_3ch_2pos_mixed-z_w1Conf640_s2.tif +0 -0
- metamorph_mda_parser-0.1.0/tests/resources/data/sample_3ch_2pos_mixed-z_w2Conf561_s1.stk +0 -0
- metamorph_mda_parser-0.1.0/tests/resources/data/sample_3ch_2pos_mixed-z_w2Conf561_s2.stk +0 -0
- metamorph_mda_parser-0.1.0/tests/resources/data/sample_3ch_2pos_mixed-z_w3Conf488_s1.stk +0 -0
- metamorph_mda_parser-0.1.0/tests/resources/data/sample_3ch_2pos_mixed-z_w3Conf488_s2.stk +0 -0
- metamorph_mda_parser-0.1.0/tests/test_xarray.py +25 -0
- metamorph_mda_parser-0.0.2/.github/workflows/test.yml +0 -42
- metamorph_mda_parser-0.0.2/.gitignore +0 -3
- metamorph_mda_parser-0.0.2/tests/__init__.py +0 -0
- {metamorph_mda_parser-0.0.2 → metamorph_mda_parser-0.1.0}/LICENSE.txt +0 -0
- {metamorph_mda_parser-0.0.2 → metamorph_mda_parser-0.1.0}/src/metamorph_mda_parser/__init__.py +0 -0
- {metamorph_mda_parser-0.0.2 → metamorph_mda_parser-0.1.0}/src/metamorph_mda_parser/lark.py +0 -0
- {metamorph_mda_parser-0.0.2 → metamorph_mda_parser-0.1.0}/src/metamorph_mda_parser/nd_grammar.lark +0 -0
- {metamorph_mda_parser-0.0.2 → metamorph_mda_parser-0.1.0}/tests/resources/sample_2ch_75pos_361t.nd +0 -0
- {metamorph_mda_parser-0.0.2 → metamorph_mda_parser-0.1.0}/tests/resources/sample_4ch_1pos_1z.nd +0 -0
- {metamorph_mda_parser-0.0.2 → metamorph_mda_parser-0.1.0}/tests/resources/sample_4ch_4pos.nd +0 -0
- {metamorph_mda_parser-0.0.2 → metamorph_mda_parser-0.1.0}/tests/test_nd.py +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
name: test
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [main]
|
|
8
|
+
|
|
9
|
+
concurrency:
|
|
10
|
+
group: test-${{ github.head_ref }}
|
|
11
|
+
cancel-in-progress: true
|
|
12
|
+
|
|
13
|
+
env:
|
|
14
|
+
PYTHONUNBUFFERED: "1"
|
|
15
|
+
FORCE_COLOR: "1"
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
run:
|
|
19
|
+
name: ${{ matrix.pixi-environment }} - ${{ matrix.os }}
|
|
20
|
+
runs-on: ${{ matrix.os }}
|
|
21
|
+
strategy:
|
|
22
|
+
fail-fast: false
|
|
23
|
+
matrix:
|
|
24
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
25
|
+
pixi-environment:
|
|
26
|
+
- py310-base
|
|
27
|
+
- py310-xarray
|
|
28
|
+
- py311-base
|
|
29
|
+
- py311-xarray
|
|
30
|
+
- py312-base
|
|
31
|
+
- py312-xarray
|
|
32
|
+
steps:
|
|
33
|
+
- uses: actions/checkout@v4
|
|
34
|
+
|
|
35
|
+
- name: Set up Pixi
|
|
36
|
+
uses: prefix-dev/setup-pixi@v0.8.1
|
|
37
|
+
with:
|
|
38
|
+
cache: true
|
|
39
|
+
environments: ${{ matrix.pixi-environment }}
|
|
40
|
+
|
|
41
|
+
- name: Run tests
|
|
42
|
+
run: pixi run --environment ${{ matrix.pixi-environment }} test
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: metamorph-mda-parser
|
|
3
|
-
Version: 0.0
|
|
3
|
+
Version: 0.1.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
|
|
@@ -19,12 +19,19 @@ Requires-Python: >=3.10
|
|
|
19
19
|
Requires-Dist: lark
|
|
20
20
|
Requires-Dist: pandas
|
|
21
21
|
Requires-Dist: pydantic
|
|
22
|
+
Provides-Extra: xarray
|
|
23
|
+
Requires-Dist: dask; extra == 'xarray'
|
|
24
|
+
Requires-Dist: numpy<2; extra == 'xarray'
|
|
25
|
+
Requires-Dist: tifffile; extra == 'xarray'
|
|
26
|
+
Requires-Dist: xarray; extra == 'xarray'
|
|
27
|
+
Requires-Dist: zarr; extra == 'xarray'
|
|
22
28
|
Description-Content-Type: text/markdown
|
|
23
29
|
|
|
24
30
|
# metamorph-mda-parser
|
|
25
31
|
|
|
26
32
|
[](https://pypi.org/project/metamorph-mda-parser)
|
|
27
33
|
[](https://pypi.org/project/metamorph-mda-parser)
|
|
34
|
+
[](https://pixi.sh)
|
|
28
35
|
|
|
29
36
|
-----
|
|
30
37
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://pypi.org/project/metamorph-mda-parser)
|
|
4
4
|
[](https://pypi.org/project/metamorph-mda-parser)
|
|
5
|
+
[](https://pixi.sh)
|
|
5
6
|
|
|
6
7
|
-----
|
|
7
8
|
|