What steps will reproduce the problem? 1. Read a dicom file which is non-standard in not having file meta info
(preamble and group 2)
Write it out again.
Current code will also write without the meta info. Need to put in required
tags using pydicom's own Implementation Class UID, (optional) version, etc.
Group 2 elements [0, 1, 2, 3, 0x10, 0x12] are required by the DICOM standard.
Should also have a switch to put pydicom Implementation Class UID in even
if read-in file had proper meta info, as pydicom will have been the last to
process the file.
From darcymason@gmail.com on September 30, 2008 23:26:08
What steps will reproduce the problem? 1. Read a dicom file which is non-standard in not having file meta info (preamble and group 2)
Current code will also write without the meta info. Need to put in required tags using pydicom's own Implementation Class UID, (optional) version, etc. Group 2 elements [0, 1, 2, 3, 0x10, 0x12] are required by the DICOM standard.
Should also have a switch to put pydicom Implementation Class UID in even if read-in file had proper meta info, as pydicom will have been the last to process the file.
Original issue: http://code.google.com/p/pydicom/issues/detail?id=14