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
Fix missing bracket
  • Loading branch information
scaramallion committed Nov 17, 2023
commit de2431b0f7a63430049066cbb6ea38296a95c5cb
2 changes: 1 addition & 1 deletion pynetdicom/apps/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ def handle_store(event, args, app_logger):
if event.context.transfer_syntax == DeflatedExplicitVRLittleEndian:
# Workaround for pydicom issue #1086
with open(filename, "wb") as f:
f.write(event.encoded_dataset()
f.write(event.encoded_dataset())
else:
# We use `write_like_original=False` to ensure that a compliant
# File Meta Information Header is written
Expand Down
Loading