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(
3127
3127
'1.2.840.10008.1.2.4.91' : 'application/dicom' ,
3128
3128
'1.2.840.10008.1.2.4.92' : 'application/dicom' ,
3129
3129
'1.2.840.10008.1.2.4.93' : 'application/dicom' ,
3130
+ '1.2.840.10008.1.2.5' : 'application/dicom' ,
3130
3131
}
3131
3132
3132
3133
supported_media_type_lut = {
@@ -3142,6 +3143,7 @@ def retrieve_instance(
3142
3143
'1.2.840.10008.1.2.4.91' ,
3143
3144
'1.2.840.10008.1.2.4.92' ,
3144
3145
'1.2.840.10008.1.2.4.93' ,
3146
+ '1.2.840.10008.1.2.5' ,
3145
3147
'*' ,
3146
3148
},
3147
3149
}
Original file line number Diff line number Diff line change @@ -248,6 +248,15 @@ def test_retrieve_instance(file_client):
248
248
assert isinstance (instance , Dataset )
249
249
250
250
251
+ def test_retrieve_instance_rle (file_client ):
252
+ instance = file_client .retrieve_instance (
253
+ '1.2.826.0.1.3680043.8.498.12406831542731051035295345080039845114' ,
254
+ '1.2.826.0.1.3680043.8.498.16157229083793556332623330502397121062' ,
255
+ '1.2.826.0.1.3680043.8.498.49043964482360854182530167603505525116' ,
256
+ )
257
+ assert isinstance (instance , Dataset )
258
+
259
+
251
260
def test_retrieve_instance_with_default_media_type (file_client ):
252
261
instance = file_client .retrieve_instance (
253
262
'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