Check study instances whether they have image data based on sopClassUid instead of rows
This commit is contained in:
1 parent
dfcb33153f
commit
896cc715ea
5 files changed
+182
-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 rows (or columns)
|
||||
// All imaging modalities must have a valid value for sopClassUid
|
||||
var anInstance = series.instances[0];
|
||||
if (!anInstance || !anInstance.rows) {
|
||||
if (!anInstance || !isImage(anInstance.sopClassUid)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user