diff --git a/.github/workflows/pr-linter.yml b/.github/workflows/pr-linter.yml index 7fd1481f1..fbb1469f0 100644 --- a/.github/workflows/pr-linter.yml +++ b/.github/workflows/pr-linter.yml @@ -42,7 +42,7 @@ jobs: - name: Check code formatting run: black . --check - name: Check spelling - run: codespell -L halp,ot,pres,requestor,requestors -d pynetdicom + run: codespell -L ddress,halp,ot,pres,requestor,requestors -d pynetdicom - name: Check for syntax errors run: python -m flake8 --select=E901,E999,F822,F823 ${{ steps.pydiff.outputs.pyfiles }} --ignore F821 - name: Check for style warnings diff --git a/docs/apps/movescu.rst b/docs/apps/movescu.rst index fcbff5f82..5f076d9ae 100644 --- a/docs/apps/movescu.rst +++ b/docs/apps/movescu.rst @@ -522,7 +522,7 @@ SOP Classes +----------------------------------+------------------------------------------+ | 1.2.840.10008.5.1.4.1.1.481.10 | RT Physician Intent Storage | +----------------------------------+------------------------------------------+ -| 1.2.840.10008.5.1.4.1.1.481.11 | RT Segmentation Annotation Storge | +| 1.2.840.10008.5.1.4.1.1.481.11 | RT Segmentation Annotation Storage | +----------------------------------+------------------------------------------+ | 1.2.840.10008.5.1.4.1.1.481.12 | RT Radiation Set Storage | +----------------------------------+------------------------------------------+ diff --git a/pynetdicom/_handlers.py b/pynetdicom/_handlers.py index f3adba9c4..67411bcfd 100644 --- a/pynetdicom/_handlers.py +++ b/pynetdicom/_handlers.py @@ -3509,7 +3509,7 @@ def doc_handle_n_get(event: "Event", *args: Sequence[Any]) -> UserReturnType: * :dcm:`Media Creation Management` * :dcm:`Unified Procedure Step` * :dcm:`RT Machine Verification` - * :dcm:`Dispaly System Management` + * :dcm:`Display System Management` **Status** diff --git a/pynetdicom/apps/findscu/findscu.py b/pynetdicom/apps/findscu/findscu.py index c18d51f97..a2742b4b7 100755 --- a/pynetdicom/apps/findscu/findscu.py +++ b/pynetdicom/apps/findscu/findscu.py @@ -290,7 +290,7 @@ def main(args=None): # Create query (identifier) dataset try: - # If you're looking at this to see how QR Find works then `identifer` + # If you're looking at this to see how QR Find works then `identifier` # is a pydicom Dataset instance with your query keys, e.g.: # identifier = Dataset() # identifier.QueryRetrieveLevel = 'PATIENT' diff --git a/pynetdicom/apps/getscu/getscu.py b/pynetdicom/apps/getscu/getscu.py index 5764aed32..0b662c672 100755 --- a/pynetdicom/apps/getscu/getscu.py +++ b/pynetdicom/apps/getscu/getscu.py @@ -240,7 +240,7 @@ def main(args=None): # Create query (identifier) dataset try: - # If you're looking at this to see how QR Get works then `identifer` + # If you're looking at this to see how QR Get works then `identifier` # is a pydicom Dataset instance with your query keys, e.g.: # identifier = Dataset() # identifier.QueryRetrieveLevel = 'PATIENT' diff --git a/pynetdicom/apps/movescu/movescu.py b/pynetdicom/apps/movescu/movescu.py index 2eed0c073..1ebeae309 100755 --- a/pynetdicom/apps/movescu/movescu.py +++ b/pynetdicom/apps/movescu/movescu.py @@ -273,7 +273,7 @@ def main(args=None): # Create query (identifier) dataset try: - # If you're looking at this to see how QR Move works then `identifer` + # If you're looking at this to see how QR Move works then `identifier` # is a pydicom Dataset instance with your query keys, e.g.: # identifier = Dataset() # identifier.QueryRetrieveLevel = 'PATIENT' diff --git a/pynetdicom/tests/test_ae.py b/pynetdicom/tests/test_ae.py index 57f813fcb..9c648a2d5 100644 --- a/pynetdicom/tests/test_ae.py +++ b/pynetdicom/tests/test_ae.py @@ -8,7 +8,7 @@ import pytest -from pydicom import read_file, config as PYD_CONFIG +from pydicom import dcmread, config as PYD_CONFIG from pydicom.dataset import Dataset from pydicom.uid import UID, ImplicitVRLittleEndian @@ -37,10 +37,8 @@ TEST_DS_DIR = os.path.join(os.path.dirname(__file__), "dicom_files") -DATASET = read_file(os.path.join(TEST_DS_DIR, "RTImageStorage.dcm")) -COMP_DATASET = read_file( - os.path.join(TEST_DS_DIR, "MRImageStorage_JPG2000_Lossless.dcm") -) +DATASET = dcmread(os.path.join(TEST_DS_DIR, "RTImageStorage.dcm")) +COMP_DATASET = dcmread(os.path.join(TEST_DS_DIR, "MRImageStorage_JPG2000_Lossless.dcm")) def test_blocking_handler():