Skip to content

Commit

Permalink
Updating pyuda get_file to use opaque option.
Browse files Browse the repository at this point in the history
  • Loading branch information
jholloc committed Dec 13, 2024
1 parent e59c0a0 commit 46e236f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/wrappers/python/pyuda/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def get_file(self, source_file, output_file=None):
:return:
"""

result = cpyuda.get_data("bytes::read(path=%s)" % source_file, "")
result = cpyuda.get_data("bytes::read(path=%s, /opaque)" % source_file, "")

with open(output_file, 'wb') as f_out:
result.data().tofile(f_out)
Expand Down

0 comments on commit 46e236f

Please sign in to comment.