File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : ci
2-
3- on :
4- push :
5- paths :
6- - " **.py"
7- - " .github/workflows/ci.yml"
8- pull_request :
9-
10-
11- jobs :
12-
13- linux :
14- runs-on : ubuntu-latest
15- timeout-minutes : 5
16- strategy :
17- matrix :
18- python-version : [ '3.11' ]
19-
20- name : Python ${{ matrix.python-version }}
21-
22- steps :
23- - uses : actions/checkout@v6
24-
25- - uses : actions/setup-python@v6
26- with :
27- python-version : ${{ matrix.python-version }}
28-
29- - run : pip install .[tests]
30-
31- - run : mypy --install-types --non-interactive
32-
33- # - run: pytest
1+ name : ci
2+
3+ on :
4+ push :
5+ paths :
6+ - " **.py"
7+ - " .github/workflows/ci.yml"
8+ pull_request :
9+
10+
11+ jobs :
12+
13+ linux :
14+ runs-on : ubuntu-latest
15+ timeout-minutes : 5
16+ strategy :
17+ matrix :
18+ python-version : [ '3.11' ]
19+
20+ name : Python ${{ matrix.python-version }}
21+
22+ steps :
23+ - uses : actions/checkout@v6
24+
25+ - uses : actions/setup-python@v6
26+ with :
27+ python-version : ${{ matrix.python-version }}
28+
29+ - run : pip install .[tests]
30+
31+ - run : mypy --install-types --non-interactive
32+
33+ - run : pytest
Original file line number Diff line number Diff line change 22
33[ ![ DOI] ( https://zenodo.org/badge/30336524.svg )] ( https://zenodo.org/badge/latestdoi/30336524 )
44[ ![ PyPI versions] ( https://img.shields.io/pypi/pyversions/histutils.svg )] ( https://pypi.python.org/pypi/histutils )
5- [ ![ PyPI Download stats] ( http ://pepy.tech/badge/histutils)] ( http ://pepy.tech/project/histutils)
5+ [ ![ PyPI Download stats] ( https ://pepy.tech/badge/histutils)] ( https ://pepy.tech/project/histutils)
66
77HiST project raw video data reading utilities.
88
Original file line number Diff line number Diff line change 66
77from .utils import splitconf , write_quota , sixteen2eight
88from .index import req2frame , getRawInd , meta2rawInd
9- from .io import setupimgh5
9+ from .dio import setupimgh5
1010
1111__all__ = [
1212 "splitconf" ,
Original file line number Diff line number Diff line change @@ -31,8 +31,7 @@ def xmlparam(fn: Path) -> Dict[str, Any]:
3131 tree = ET .parse (fn )
3232
3333 root = tree .getroot ()
34-
35- children = root .getchildren () # type: ignore[attr-defined]
34+ children = list (root )
3635
3736 data = children [1 ]
3837
Original file line number Diff line number Diff line change 1313
1414#
1515from .utils import write_quota
16- from .io import imgwriteincr , setupimgh5
16+ from .dio import imgwriteincr , setupimgh5
1717from .index import getRawInd , meta2rawInd , req2frame
1818from .timedmc import frame2ut1 , ut12frame
1919
You can’t perform that action at this time.
0 commit comments