From 882f3c8f25c47224d65e2a73d96d4701c0157754 Mon Sep 17 00:00:00 2001 From: Michael Phillips <45827183+MikeDPhillips@users.noreply.github.com> Date: Tue, 19 Jul 2022 14:49:32 -0400 Subject: [PATCH] Update help string for --restart to make clear it applies to assessors of a given type. (#393) * Removed logic that always sets former status to None if --restart is present. * Updated help string for --restart to match behavior. old: Restart the assessors by switching the status for all assessors found to NEED_TO_RUN and delete previous resources. new: Restart the assessors by switching the status for all assessors \ found to NEED_TO_RUN and delete previous resources. --- bin/Xnat_tools/XnatSwitchProcessStatus | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/Xnat_tools/XnatSwitchProcessStatus b/bin/Xnat_tools/XnatSwitchProcessStatus index b3b23894..fe4cfe98 100755 --- a/bin/Xnat_tools/XnatSwitchProcessStatus +++ b/bin/Xnat_tools/XnatSwitchProcessStatus @@ -674,8 +674,8 @@ the assessors from -t you changed are inputs to those assessors." action="store_true", help=_h) parser.add_argument("--fullRegex", dest="full_regex", action='store_true', help="Use full regex for filtering data.") - _h = "Restart the assessors by switching the status for all assessors \ -found to NEED_TO_RUN and delete previous resources." + _h = "Restart all assessors of a given process type by switching the \ +git status to NEED_TO_RUN and delete previous resources." parser.add_argument("--restart", dest="restart", action='store_true', help=_h) _h = "Rerun the assessors by switching status to NEED_TO_RUN for \