Skip to content

Commit 8d23976

Browse files
authored
Merge pull request #311 from ImagingDataCommons/v0.24.0dev
WIP: V0.24.0dev
2 parents 2624b63 + e937cc2 commit 8d23976

63 files changed

Lines changed: 432209 additions & 182376 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/run_unit_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ on:
77
push:
88
branches: [ master ]
99
pull_request:
10-
branches: [ master ]
10+
branches: [ "master", "v*dev" ]
1111

1212
jobs:
1313
build:
1414

1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ["3.10", "3.11", "3.12"]
18+
python-version: ["3.10", "3.11", "3.12", "3.13"]
1919
dependencies: [".", "'.[libjpeg]'"]
2020

2121
steps:

MANIFEST.in

Lines changed: 0 additions & 6 deletions
This file was deleted.

bin/create_iods_modules.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,15 @@ def _create_modules(directory):
8383
except KeyError:
8484
logger.error(f'keyword not found for attribute "{tag}"')
8585
continue
86+
try:
87+
kw_path = [dictionary_keyword(t) for t in path]
88+
except KeyError:
89+
logger.error(f'keyword in path of attribute "{tag}" not found')
90+
continue
8691
mapping = {
8792
'keyword': keyword,
8893
'type': item['type'],
89-
'path': [dictionary_keyword(t) for t in path],
94+
'path': kw_path,
9095
}
9196
modules[item['moduleId']].append(mapping)
9297
return modules
26.8 KB
Binary file not shown.
86.6 KB
Binary file not shown.
3.07 KB
Binary file not shown.

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import os
1414
import sys
1515
import pkg_resources
16+
import datetime
1617

1718
source_dir = os.path.dirname(__file__)
1819
pkg_dir = os.path.join(source_dir, '..', '..', 'src', 'highdicom')
@@ -21,7 +22,7 @@
2122
# -- Project information -----------------------------------------------------
2223

2324
project = 'highdicom'
24-
copyright = '2020-2022, Herrmann Lab'
25+
copyright = f'2020-{datetime.datetime.now().year}, highdicom contributors'
2526
author = 'Markus D. Herrmann'
2627

2728
# The full version, including alpha/beta/rc tags

docs/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Requirements
1616
Installation
1717
------------
1818

19-
Pre-build package available at PyPi:
19+
Pre-built package available at PyPi:
2020

2121
.. code-block:: none
2222

docs/package.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,15 @@ highdicom.utils module
7575
:undoc-members:
7676
:show-inheritance:
7777

78+
highdicom.pixels module
79+
+++++++++++++++++++++++
80+
81+
.. automodule:: highdicom.pixels
82+
:members:
83+
:inherited-members: pydicom.dataset.Dataset,pydicom.sequence.Sequence,Dataset,Sequence,list,str,DataElementSequence,enum.Enum,Enum,
84+
:special-members: __call__
85+
:undoc-members:
86+
:show-inheritance:
7887

7988
.. _highdicom-legacy-subpackage:
8089

docs/seg.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ segments. Note that passing a "label map" is purely a convenience provided by
447447
(`highdicom` splits the label map into multiple single-segment frames and
448448
stores these, as required by the standard).
449449

450-
Therefore, The following snippet produces an equivalent SEG image to the
450+
Therefore, the following snippet produces an equivalent SEG image to the
451451
previous snippet, but passes the mask as a label map rather than as a stack of
452452
segments.
453453

0 commit comments

Comments
 (0)