Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRG] Add convenience function Event.encoded_dataset() #888

Merged
merged 10 commits into from
Nov 17, 2023
Prev Previous commit
Next Next commit
Remove unused imports
  • Loading branch information
scaramallion committed Nov 17, 2023
commit 2bef5f3aa29d0d88992602bad64c78b65a3ab10d
2 changes: 0 additions & 2 deletions pynetdicom/apps/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
from pydicom.tag import Tag
from pydicom.uid import DeflatedExplicitVRLittleEndian

from pynetdicom.dsutils import encode


def create_dataset(args, logger=None):
"""Return a new or updated dataset.
Expand Down
1 change: 0 additions & 1 deletion pynetdicom/dsutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from io import BytesIO
import logging
from pathlib import Path
from struct import pack
import zlib

from pydicom import Dataset
Expand Down
2 changes: 1 addition & 1 deletion pynetdicom/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from pydicom.tag import BaseTag
from pydicom.uid import UID

from pynetdicom.dsutils import decode, encode, create_file_meta, encode_file_meta
from pynetdicom.dsutils import decode, create_file_meta, encode_file_meta

if TYPE_CHECKING: # pragma: no cover
from io import BytesIO
Expand Down
Loading