qiicr / atom-dicom-dump Goto Github PK
View Code? Open in Web Editor NEWAtom editor package for examining the content of DICOM files
Home Page: https://atom.io/packages/dicom-dump
License: MIT License
Atom editor package for examining the content of DICOM files
Home Page: https://atom.io/packages/dicom-dump
License: MIT License
[Enter steps to reproduce:]
Atom: 1.17.1 x64
Electron: 1.3.15
OS: Mac OS X 10.11.6
Thrown From: dicom-dump package 0.2.10
Uncaught TypeError: Cannot read property 'getPath' of undefined
At /Users/BillClifford/.atom/packages/dicom-dump/lib/dicom-dump.coffee:70
TypeError: Cannot read property 'getPath' of undefined
at Object.dcmdumpView (/packages/dicom-dump/lib/dicom-dump.coffee:70:52)
at /packages/dicom-dump/lib/dicom-dump.coffee:50:35)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:265:1)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:1)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:166:1)
at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:1300:1)
at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app/src/application-delegate.js:334:1)
at emitThree (events.js:116:13)
at EventEmitter.emit (events.js:194:7)
-8:57.5.0 core:delete (input.hidden-input)
-8:55.3.0 core:paste (input.hidden-input)
70x -8:51.6.0 core:move-left (input.hidden-input)
-7:06.6.0 application:open (div.panels-item)
2x -5:14.5.0 dicom-dump:toggledcm (input.hidden-input)
-2:35.8.0 core:paste (input.hidden-input)
-2:30.6.0 editor:select-to-first-character-of-line (input.hidden-input)
-2:12.7.0 dicom-dump:toggledcm (div.tool-panel.tree-view)
-1:28 application:open (div.tool-panel.tree-view)
-0:33.2.0 dicom-dump:toggledcm (input.hidden-input)
-0:22.3.0 dicom-dump:togglesr (input.hidden-input)
-0:07.7.0 dicom-dump:toggledcm (div.tool-panel.tree-view)
dicom-dump 0.2.10
suggested by @jriesmeier
When tested on @mehrtash system, it appeared that running dcmdump
directly had unresolved library issues.
It sometimes takes very long time for the editor to become responsive after toggling dcmdump. This perhaps has to do with the length of the dump, since observed for the SEG objects with a long reference list and PixelData present for empty frames.
Sample dataset: https://drive.google.com/open?id=0BzGsmNN8MvZqMEdyTndxalZUM1k
As evident from the report in #5, it may help user and in troubleshooting if existence of the dcmdump/dsrdump binaries was confirmed before trying to do anything else when user triggers them.
Suggested by @jriesmeier: "some syntax highlighting (like with option +C of the two DCMTK tools) would be nice"
gdcmdump
provides functionality not available in dcmdump
, such as Siemens header parsing, so it might be quite helpful to add it.
@malaterre - would you be by any chance interested to contribute this functionality? Any thoughts are welcome!
Opener can check for the type of file, and automatically determine if it makes sense to show a dicom dump (as defined by an option).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.