We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7710284 commit 403d076Copy full SHA for 403d076
src/lib/loadImageData.js
@@ -24,11 +24,8 @@ export default function loadImageDataProgressively(imageDataObject) {
24
imageId0
25
);
26
27
- if (!seriesModule) {
28
- throw new Error('seriesModule metadata is required');
29
- }
30
-
31
- const modality = seriesModule.modality;
+ // If no seriesModule is present will default to linear scaling function.
+ const modality = seriesModule && seriesModule.modality;
32
let modalitySpecificScalingParameters;
33
34
if (modality === 'PT') {
0 commit comments