Open NicolasRannou opened 9 years ago
+1
I solved with
# line 369
self._log('Converting DICOM image.\n')
self._log('PatientName: %s\n' % self._dcm.PatientName if hasattr(self._dcm, 'PatientName') else "--")
self._log('PatientAge: %s\n' % self._dcm.PatientAge if hasattr(self._dcm, 'PatientAge') else "--")
self._log('PatientSex: %s\n' % self._dcm.PatientSex if hasattr(self._dcm, 'PatientSex') else "--")
self._log('PatientID: %s\n' % self._dcm.PatientID if hasattr(self._dcm, 'PatientID') else "--")
self._log('SeriesDescription: %s\n' % self._dcm.SeriesDescription if hasattr(self._dcm, 'SeriesDescription') else "--")
self._log('ProtocolName: %s\n' % self._dcm.ProtocolName if hasattr(self._dcm, 'ProtocolName') else "--")```
It is only safe to assume we have study, series, and sop uids... we should make sure the other ones are available.