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)
This commit is contained in:
Evren Ozkan 2016-08-31 15:52:58 -04:00
parent 662cfe3c94
commit 486a7b30ed

View File

@ -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;
}