From 34ade1825437af34aae7212127db43c87b3879cf Mon Sep 17 00:00:00 2001 From: gabiherman <39273726+gabiherman@users.noreply.github.com> Date: Mon, 3 Feb 2020 13:27:45 -0500 Subject: [PATCH] fix to aggregate task files based on config changed case of 'task_regex' to match config --- bin/dm_task_files.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/dm_task_files.py b/bin/dm_task_files.py index 2a760771..48731a52 100755 --- a/bin/dm_task_files.py +++ b/bin/dm_task_files.py @@ -68,9 +68,9 @@ def main(): def get_regex(config): try: - regex = config.get_key('task_regex') + regex = config.get_key('TASK_REGEX') except datman.config.UndefinedSetting: - logger.warn("'task_regex' not defined in settings, using default " + logger.warn("'TASK_REGEX' not defined in settings, using default " "regex to locate task files.") regex = 'behav|\.edat2' # noqa: W605 return regex