Commit c7ea4e643babd25a3c51ade4e2a02ac75bc59474
1 parent
126431dd
Exists in
master
and in
68 other branches
FIX: #64 (dicom without wl ww value)
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
invesalius/reader/dicom.py
... | ... | @@ -251,7 +251,7 @@ class Parser(): |
251 | 251 | return value_list |
252 | 252 | else: |
253 | 253 | return value_list[preset] |
254 | - return "" | |
254 | + return "300" | |
255 | 255 | |
256 | 256 | def GetImageWindowWidth(self, preset=WL_PRESET, multiple=WL_MULT): |
257 | 257 | """ |
... | ... | @@ -286,7 +286,7 @@ class Parser(): |
286 | 286 | return str(value_list) |
287 | 287 | else: |
288 | 288 | return str(value_list[preset]) |
289 | - return "" | |
289 | + return "2000" | |
290 | 290 | |
291 | 291 | def GetImagePosition(self): |
292 | 292 | """ | ... | ... |