# HG changeset patch # User Sebastien Jodogne # Date 1399036329 -7200 # Node ID 7cbed653476fe80871a6ff5ab6de68747b78e500 # Parent efd0215736d9cd8329423c29bb988c1a8ee973c1 path for windows diff -r efd0215736d9 -r 7cbed653476f UnitTestsSources/FromDcmtk.cpp --- 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 f(o.Clone()); if (i > 4) o.Replace(DICOM_TAG_SERIES_INSTANCE_UID, "coucou");