You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update - sorry this is actually related to the DICOM files being used. Depending on the file I get the above error unrelated to the tag I specified in the above comment.
Also I get a failed to fill whole buffer error on others, but have no problem reading the same files with dcmtk dcmdump
Thank you for reporting. Could you provide a minimal example of the code which you were trying?
Still, I suspect that the problem is equivalent to #83. open_file can only open complete DICOM files with preamble and file meta group. In order to read a simple DICOM data set, you would need to use one of the InMemDicomObject::read_dataset functions, which are available upstream (#84), but not released yet released in 0.4.0.
Closing as a duplicate of #83, as it is very likely that caused by an attempt to read a file without a preamble, which in this case needs to be done with separate methods. Please file a new issue with a concrete example if the problem persists. See also #50.
(1001,041e) ST [Date: 20210212025552[^]Date: 20210217033201[^]Date: 20210226002420[^]] # 70, 1 Unknown Tag & Data
Attempting to read in rust fails with:
Error: ParseMetaDataSet { source: UndefinedValueLength { tag: Tag(0x0022, 0x0016), backtrace: Backtrace(()) } }
dcmtk - dcmdump works fine to read the above tag which is where the line came from above.
The text was updated successfully, but these errors were encountered: