Check study instances whether they have image data based on sopClassUid instead of rows

This commit is contained in:
Evren Ozkan committed 2016-05-02 19:14:47 -04:00
1 parent dfcb33153f
commit 896cc715ea
5 files changed
+182 -4

No files matched your search

+2 -2
View File
@@ -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;
}