From 486a7b30ed2350a5a2dd5d55d7193a27f9b70b94 Mon Sep 17 00:00:00 2001 From: Evren Ozkan Date: Wed, 31 Aug 2016 15:52:58 -0400 Subject: [PATCH] This fix has been reset somehow, so applying it again: - Check study instances whether they have image data based on sopClassUid or rows (JPEG and PNG images do not have sopClassUid) --- Packages/viewerbase/lib/createStacks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Packages/viewerbase/lib/createStacks.js b/Packages/viewerbase/lib/createStacks.js index bedde4e91..e5c53b6c2 100644 --- a/Packages/viewerbase/lib/createStacks.js +++ b/Packages/viewerbase/lib/createStacks.js @@ -30,8 +30,8 @@ createStacks = function(study) { // series into another display set. let stackableInstances = []; series.instances.forEach(instance => { - // All imaging modalities must have a valid value for rows (or columns) - if (!instance.rows) { + // All imaging modalities must have a valid value for sopClassUid or rows + if (!isImage(instance.sopClassUid) && !instance.rows) { return; }