changeset 785:7cbed653476f

path for windows
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 02 May 2014 15:12:09 +0200
parents efd0215736d9
children b6d6b65142e8
files UnitTestsSources/FromDcmtk.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/UnitTestsSources/FromDcmtk.cpp	Fri May 02 15:06:31 2014 +0200
+++ b/UnitTestsSources/FromDcmtk.cpp	Fri May 02 15:12:09 2014 +0200
@@ -297,7 +297,7 @@
         toModify.Replace(it->first, it->second, DicomReplaceMode_InsertIfAbsent);
       }
 
-      // Update the DICOM identifiers
+      // (4) Update the DICOM identifiers
       if (level_ <= DicomRootLevel_Study)
       {
         MapDicomIdentifier(toModify, DicomRootLevel_Study);
@@ -327,12 +327,12 @@
   //m.Replace(DICOM_TAG_PATIENT_NAME, "coucou");
 
   ParsedDicomFile o;
-  o.SaveToFile("/tmp/tutu.dcm");
+  o.SaveToFile("anon.dcm");
 
   for (int i = 0; i < 10; i++)
   {
     char b[1024];
-    sprintf(b, "/tmp/tutu%06d.dcm", i);
+    sprintf(b, "anon%06d.dcm", i);
     std::auto_ptr<ParsedDicomFile> f(o.Clone());
     if (i > 4)
       o.Replace(DICOM_TAG_SERIES_INSTANCE_UID, "coucou");