[Gdcm-hackers] gdcm-git:Grassroots DICOM branch release updated. 09401815e1867d5522c644adf3a8c6e17c
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: Mathieu M. <ma...@us...> - 2020-06-25 12:37:42
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Grassroots DICOM".
The branch, release has been updated
via 09401815e1867d5522c644adf3a8c6e17c9cdbc0 (commit)
from b1cd5582a709f768407e31bfb7c459c0e61922f5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceforge.net/p/gdcm/gdcm/ci/09401815e1867d5522c644adf3a8c6e17c9cdbc0/
commit 09401815e1867d5522c644adf3a8c6e17c9cdbc0
Author: Mathieu Malaterre <mat...@gm...>
Date: Thu Jun 25 14:37:10 2020 +0200
Fix test for python3
diff --git a/Testing/Source/MediaStorageAndFileFormat/Python/TestModifyFields.py b/Testing/Source/MediaStorageAndFileFormat/Python/TestModifyFields.py
index 99f4a6c85..92586bb96 100644
--- a/Testing/Source/MediaStorageAndFileFormat/Python/TestModifyFields.py
+++ b/Testing/Source/MediaStorageAndFileFormat/Python/TestModifyFields.py
@@ -34,14 +34,14 @@ def TestModifyFields(filename):
if ds.FindDataElement( replacetag ):
de = ds.GetDataElement( replacetag )
#print dir(de)
- patname = "This^is^an^example"
+ patname = b"This^is^an^example"
de.SetByteStringValue( patname )
# let's insert a new dataelement
# <entry group="0012" element="0062" vr="CS" vm="1" name="Patient Identity Removed"/>
pir = gdcm.DataElement( gdcm.Tag(0x0012,0x0062) )
pir.SetVR( gdcm.VR( gdcm.VR.CS ) ) # specify the VR explicitly
- yes = "YES"
+ yes = b"YES"
pir.SetByteStringValue( yes )
ds.Insert( pir )
@@ -54,7 +54,7 @@ def TestModifyFields(filename):
#print dictel.GetVR()
deid = gdcm.DataElement( deidmethod )
deid.SetVR( dictel.GetVR() )
- methodstr = "Well known Company"
+ methodstr = b"Well known Company"
#deid.SetByteStringValue( methodstr )
deid.SetByteStringValue( methodstr )
ds.Insert( deid )
-----------------------------------------------------------------------
Summary of changes:
Testing/Source/MediaStorageAndFileFormat/Python/TestModifyFields.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
Grassroots DICOM
|