Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
- This is series level transaction
  • Loading branch information
Chinlinlee committed Nov 21, 2022
1 parent 5cf3e73 commit 629e221
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/dicom-web/controller/WADO-RS/retrieveRenderedSeries.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ module.exports = async function(req, res) {
}

try {
let instancesInStudy = await wadoService.getSeriesImagesPath(req.params);
let instancesInSeries = await wadoService.getSeriesImagesPath(req.params);

if (instancesInStudy) {
if (instancesInSeries) {
let multipartWriter = new MultipartWriter([], res, req);

for(let imagePathObj of instancesInStudy) {
for(let imagePathObj of instancesInSeries) {
let instanceFramesObj = await renderedService.getInstanceFrameObj(imagePathObj);
let dicomNumberOfFrames = _.get(instanceFramesObj, "00280008.Value.0", 1);
dicomNumberOfFrames = parseInt(dicomNumberOfFrames);
Expand Down

0 comments on commit 629e221

Please sign in to comment.