From b176e01bcce8100a81aab0c94bd6cebe1c1ae3df Mon Sep 17 00:00:00 2001 From: Christopher Morrison Date: Tue, 24 Oct 2023 16:28:03 -0700 Subject: [PATCH] Clean up and format cache warning message. --- .../behavior_project_cache/behavior_project_cache.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/allensdk/brain_observatory/behavior/behavior_project_cache/behavior_project_cache.py b/allensdk/brain_observatory/behavior/behavior_project_cache/behavior_project_cache.py index 7823459cf..76d911070 100644 --- a/allensdk/brain_observatory/behavior/behavior_project_cache/behavior_project_cache.py +++ b/allensdk/brain_observatory/behavior/behavior_project_cache/behavior_project_cache.py @@ -127,15 +127,16 @@ def __init__( cache=cache) warnings.warn( - message="As of AllenSDK version 2.16.0, the latest Visual " - "Behavior Ophys data has be significantly updated from " + message="\n\tAs of AllenSDK version 2.16.0, the latest Visual " + "Behavior Ophys data has been significantly updated from " "previous releases. Specifically the user will need to " "update all processing of the stimulus_presentations " "tables. These tables now include multiple stimulus types " "delineated by the columns `stimulus_block` and " - "`stimulus_block_name`. The previous are stored in the " + "`stimulus_block_name`.\n\nThe data that was available in " + "previous releases are stored in the " "block name containing 'change_detection' and can be " - "accessed in the pandas table by using: " + "accessed in the pandas table by using: \n\t" "`stimulus_presentations[" "stimulus_presentations.stimulus_block_name.str.contains" "('change_detection')]`",