- Kevin
> --
> You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
> To post to this group, send email to xnat_di...@googlegroups.com.
> To unsubscribe from this group, send email to xnat_discussi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/xnat_discussion?hl=en.
>
The material in this message is private and may contain Protected Healthcare Information (PHI). If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
That probably reflects two different methods of sending files.
The first looks like the default file namer, which now gets used primarily for files uploaded via DICOM C-STORE. (It's also used for files received via MIRC-style HTTP, but that's rare.)
The second looks like it's not a name we generated. Did this come in via the upload applet? The upload applet now (as of version 1.5) preserves the names of uploaded files.
- Kevin
This uses a new config file, WEB-INF/conf/dicom-importer.properties , and the property dicom.file.namer should be set to the fully qualified class name of your DicomFileNamer implementation. (Note that the DicomFileNamer interface now lives in the dicom-xnat-util subproject of dicom-xnat. The interface is unchanged, so your old code should work.)
Also in this changeset, the upload applet uses the file namer (custom or default) by adding the query parameter rename=true to its upload requests. (I've pushed that change to the UploadAssistant repository as well).
Please let me know if any of this is unclear or if you have trouble getting it to work.
- Kevin