seriesUID = gdcm::Util::CreateUniqueUID( gdcmIO->GetUIDPrefix());
frameOfReferenceUID = gdcm::Util::CreateUniqueUID( gdcmIO->GetUIDPrefix());
#endif
- if (m_ArgsInfo.verbose_flag)
- {
- DD(seriesUID);
- DD(frameOfReferenceUID);
- }
}
studyUIDGiven = (entryId == studyUIDKey);
#else
studyUID = gdcm::Util::CreateUniqueUID( gdcmIO->GetUIDPrefix());
#endif
- if (m_ArgsInfo.verbose_flag)
- DD(studyUID);
}
-#if GDCM_MAJOR_VERSION < 2
-<<<<<<< Updated upstream
- else
- gdcmIO->KeepOriginalUID();
-=======
- else
- gdcmIO->SetKeepOriginalUID(true);
->>>>>>> Stashed changes
-#endif
+ }
+
+ if (m_ArgsInfo.verbose_flag) {
+ DD(seriesUID);
+ DD(frameOfReferenceUID);
+ DD(studyUID);
}
// check if file UIDs will be be preserved
else {
namesGenerator->SetOutputDirectory( m_ArgsInfo.outputDir_arg );
filenames_out = namesGenerator->GetOutputFileNames();
+#if GDCM_MAJOR_VERSION < 2
+ gdcmIO->SetKeepOriginalUID(true);
+#endif
}
filenames_out.resize(numberOfFilenames);