Skip to content

Commit

Permalink
[FIX] Update default folders dm_blacklist_rm works on
Browse files Browse the repository at this point in the history
  • Loading branch information
DESm1th committed Jan 29, 2025
1 parent 343aa7b commit a505222
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assets/config_templates/main_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ IgnoreHeaderFields: # Dicom Header fields to exclude from gold
# study's resources folder. (Optional).
# Default: 'behav|\.edat2'

# BlacklistDel: [nii, mnc, nrrd, resources] # Indicate which directories to
# BlacklistDel: [nii, bids, resources] # Indicate which directories to
# delete blacklisted data from.
# Default: [nii, mnc, nrrd,
# Default: [nii, bids,
# resources]
2 changes: 1 addition & 1 deletion bin/dm_blacklist_rm.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def get_search_paths(config, user_paths=None):
path_keys = config.get_key("BlacklistDel")
except datman.config.UndefinedSetting:
# Fall back to the default
path_keys = ['nii', 'mnc', 'nrrd', 'resources']
path_keys = ['nii', 'bids', 'resources']
return path_keys


Expand Down
2 changes: 1 addition & 1 deletion docs/datman_conf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Optional
* Accepted values: A list of path names, where each path name has already
been defined in `Paths`_.
* Default value: If omitted ``dm_blacklist_rm`` will delete blacklisted
scans from ``nii``, ``mnc``, ``nrrd``, and ``resources``, if these
scans from ``nii``, ``bids``, and ``resources``, if these
directories exist.

Example
Expand Down

0 comments on commit a505222

Please sign in to comment.