Check study instances whether they have image data based on sopClassUid or rows (JPEG and PNG images do not have sopClassUid)
This commit is contained in:
1 parent
896cc715ea
commit
6f0f1dc0ea
2 files changed
+4
-4
No files matched your search
@@ -22,9 +22,9 @@ createStacks = function(study) {
|
||||
}
|
||||
|
||||
// Don't display thumbnails for non-image modalities
|
||||
// All imaging modalities must have a valid value for sopClassUid
|
||||
// All imaging modalities must have a valid value for sopClassUid or rows
|
||||
var anInstance = series.instances[0];
|
||||
if (!anInstance || !isImage(anInstance.sopClassUid)) {
|
||||
if (!anInstance || (!isImage(anInstance.sopClassUid) && !anInstance.rows)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user