Update dicomParser. Small bug fix in hangingProtocol to avoid errors on non-image files
This commit is contained in:
1 parent
48a9990f32
commit
1bcf4fc02d
2 files changed
+1579
-1522
No files matched your search
+1571
-1522
File diff suppressed because it is too large.
Load diff
@@ -9,6 +9,14 @@ function defaultHangingProtocol(inputData) {
|
|||||||
var stacks = [];
|
var stacks = [];
|
||||||
studies.forEach(function(study) {
|
studies.forEach(function(study) {
|
||||||
study.seriesList.forEach(function(series) {
|
study.seriesList.forEach(function(series) {
|
||||||
|
|
||||||
|
// Ensure that the series has image data
|
||||||
|
// (All images have rows)
|
||||||
|
var anInstance = series.instances[0];
|
||||||
|
if (!anInstance || !anInstance.rows) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var stack = {
|
var stack = {
|
||||||
series: series,
|
series: series,
|
||||||
study: study
|
study: study
|
||||||
|
|||||||
Reference in new issue
Block a user