Code Monkey home page Code Monkey logo

Comments (6)

lassoan avatar lassoan commented on September 24, 2024

Thanks for reporting this. I'll fix this today.

from slicerheart.

lassoan avatar lassoan commented on September 24, 2024

The problem should be fixed in stable/preview releases that you download tomorrow or later. Please test it and let us know if it works.

from slicerheart.

singamnv avatar singamnv commented on September 24, 2024

I tried again on the preview release I reinstalled Slicer4 just now on my MacBook. No luck. I have the same error. I installed Slicer 4.11.0 build 2020-1-20. I have the same error when trying to write NRRD.

Writing DICOM...
Created DICOM file: /Users/singamnv/Documents/3DDICOM/E2Results/T001361759_17Jan2020_1HUAY5RH_.dcm
sopClassUID 1.2.840.113543.6.6.1.3.10002 != supportedSOPClassUID 1.2.840.10008.5.1.4.1.1.3.1
Writing NRRD...
Traceback (most recent call last):
File "/Applications/Slicer.app/Contents/Extensions-28736/SlicerHeart/lib/Slicer-4.11/qt-scripted-modules/Philips4dUsDicomPatcher.py", line 103, in onPatchButton
self.logic.patchDicomDir(self.inputDirSelector.currentPath, self.outputDirSelector.currentPath, self.enableDicomOutputCheckBox.checked, self.anonymizeDicomCheckBox.checked, self.enableNrrdOutputCheckBox.checked)
File "/Applications/Slicer.app/Contents/Extensions-28736/SlicerHeart/lib/Slicer-4.11/qt-scripted-modules/Philips4dUsDicomPatcher.py", line 299, in patchDicomDir
if self.convertUltrasoundDicomToNrrd(patchedFilePath, nrrdFilePath):
File "/Applications/Slicer.app/Contents/Extensions-28736/SlicerHeart/lib/Slicer-4.11/qt-scripted-modules/Philips4dUsDicomPatcher.py", line 158, in convertUltrasoundDicomToNrrd
sequenceNode = dicomPlugin.load(loadable)
File "/Applications/Slicer.app/Contents/Extensions-28736/SlicerHeart/lib/Slicer-4.11/qt-scripted-modules/DicomUltrasoundPlugin.py", line 337, in load
loadedNode = self.loadPhilips4DUSAsSequence(loadable)
File "/Applications/Slicer.app/Contents/Extensions-28736/SlicerHeart/lib/Slicer-4.11/qt-scripted-modules/DicomUltrasoundPlugin.py", line 423, in loadPhilips4DUSAsSequence
pixelSize = reduce(lambda x,y : x*y, pixelShape)
NameError: name 'reduce' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Applications/Slicer.app/Contents/Extensions-28736/SlicerHeart/lib/Slicer-4.11/qt-scripted-modules/Philips4dUsDicomPatcher.py", line 105, in onPatchButton
self.addLog("Unexpected error: {0}".format(e.message))
AttributeError: 'NameError' object has no attribute 'message'

from slicerheart.

singamnv avatar singamnv commented on September 24, 2024

Nevermind the message above! It seemed to work. Will keep you posted. Thanks, Sarma

from slicerheart.

singamnv avatar singamnv commented on September 24, 2024

It worked perfectly! Thank you for your timely fix. It's much appreciated. Sincerely, Sarma

from slicerheart.

lassoan avatar lassoan commented on September 24, 2024

Thanks for testing, I'm closing this issue then.

from slicerheart.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.