File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -3127,6 +3127,7 @@ def retrieve_instance(
31273127 '1.2.840.10008.1.2.4.91' : 'application/dicom' ,
31283128 '1.2.840.10008.1.2.4.92' : 'application/dicom' ,
31293129 '1.2.840.10008.1.2.4.93' : 'application/dicom' ,
3130+ '1.2.840.10008.1.2.5' : 'application/dicom' ,
31303131 }
31313132
31323133 supported_media_type_lut = {
@@ -3142,6 +3143,7 @@ def retrieve_instance(
31423143 '1.2.840.10008.1.2.4.91' ,
31433144 '1.2.840.10008.1.2.4.92' ,
31443145 '1.2.840.10008.1.2.4.93' ,
3146+ '1.2.840.10008.1.2.5' ,
31453147 '*' ,
31463148 },
31473149 }
Original file line number Diff line number Diff line change @@ -248,6 +248,15 @@ def test_retrieve_instance(file_client):
248248 assert isinstance (instance , Dataset )
249249
250250
251+ def test_retrieve_instance_rle (file_client ):
252+ instance = file_client .retrieve_instance (
253+ '1.3.46.670589.14.1000.210.4.199999.20110525182825.1.0' ,
254+ '1.3.46.670589.14.1000.210.3.199999.20110525182826.1.0' ,
255+ '1.3.46.670589.14.1000.210.2.199999.20110525185628.1.0'
256+ )
257+ assert isinstance (instance , Dataset )
258+
259+
251260def test_retrieve_instance_with_default_media_type (file_client ):
252261 instance = file_client .retrieve_instance (
253262 '1.3.6.1.4.1.5962.1.1.0.0.0.1196530851.28319.0.1' ,
You can’t perform that action at this time.
0 commit comments