Uploaded image for project: 'XNAT'
  1. XNAT
  2. XNAT-3456

Provide a way to specify file name extensions for imported DICOM files

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Backlog
    • Importer
    • Rank:
      0|ii0f13:

    Description

      Right now, the TemplatizedDicomFileNamer checks whether the naming pattern has an extension. If it does, the namer uses the pattern as is, if it doesn't, it adds .dcm by default. It would be nice to be able to look at the incoming file name, check its extension, and, if it's a valid extension, use that.

      The solution here should consist of:

      • An extensions property that is a list of strings, each a valid extension
      • A default extension to use if no valid matches
      • Mapping of regexes to extensions to allow, e.g., an extension of IMA_7 to be mapped to .ima

      Attachments

        Activity

          People

            Unassigned Unassigned
            jrherrick@wustl.edu Rick Herrick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: