Commits

Anonymous committed d7e1372

Added new version of DicomUtils

Comments (0)

Files changed (2)

plugin-resources/repository/dcm/jars/DicomUtils-1.0.jar

Binary file modified.

plugin-resources/webapp/xnat/java/org/nrg/xnat/restlet/resources/ScanDIRResource.java

 				// copy file to the directory structure in the working temp directory.
 				FileUtils.copyFileToDirectory(f,tmp_dicom_dir);
 				File tmp_dicom_file = new File(tmp_dicom_dir,f.getName());
-				logger.error("Adding file :" + tmp_dicom_file.getCanonicalFile());
 				dicomdir.addFile(tmp_dicom_dir);
 				// delete the file now to avoid buildup.
 				tmp_dicom_file.delete();
 		}
 	    }
 	    
-	    //	    FileUtils.deleteDirectory(tmp_working_dir);
 	    dicomdir.close();
 	    rep.addEntry("DICOMDIR", dicomDIRFile);
 	    this.setContentDisposition(String.format("attachment; filename=\"%s\";",rep.getDownloadName()));