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:
parent
662cfe3c94
commit
486a7b30ed
@ -30,8 +30,8 @@ createStacks = function(study) {
|
|||||||
// series into another display set.
|
// series into another display set.
|
||||||
let stackableInstances = [];
|
let stackableInstances = [];
|
||||||
series.instances.forEach(instance => {
|
series.instances.forEach(instance => {
|
||||||
// All imaging modalities must have a valid value for rows (or columns)
|
// All imaging modalities must have a valid value for sopClassUid or rows
|
||||||
if (!instance.rows) {
|
if (!isImage(instance.sopClassUid) && !instance.rows) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user