Skip to content

Managing bMatchDirectories is false #940

@HenkMutsaerts

Description

@HenkMutsaerts

Description

  • If bMatchDirectories is false, folderHierarchy should end with an extension, like dcm or par. This allows switching the dcm2nii_version using imPar.folderHierarchy{end}.

Requirements

If bMatchDirectories is false, a warning should be given if no extension is provided in folderHierarchy, and we automatically add .dcm as extension (assuming that this concerns enhanced DICOMs, which is the case mostly).

If a folder only contains one enhanced DICOM, this probably won't be an issue, but bMatchDirectories is actually useful when a folder contains multiple enhanced DICOMs, in which case each file is a separate "scan token".

This also requires folderHierarchy dcmExtFilter to be case insensitive.

How to test

Optional: insert description about how to test the code changes here

Release notes

Required: summarize the changes for the release notes here

Metadata

Metadata

Assignees

Labels

featureNew feature, enhancement or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions