From da3420061505115c9ff081960a9c4edfcae49ef2 Mon Sep 17 00:00:00 2001 From: neuronflow Date: Wed, 21 Feb 2024 11:18:06 +0100 Subject: [PATCH] better notice Signed-off-by: neuronflow --- brats_toolkit/util/citation_reminder.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/brats_toolkit/util/citation_reminder.py b/brats_toolkit/util/citation_reminder.py index 271247f..f2075af 100644 --- a/brats_toolkit/util/citation_reminder.py +++ b/brats_toolkit/util/citation_reminder.py @@ -27,17 +27,22 @@ def wrapper(*args, **kwargs): console = Console() console.rule("[bold red]Deprecation note[/bold red]") console.print( - "Support for BraTS Toolkit's preprocessor will be deprecated soon, even though it should continue working.", + "Deprecation Notice: Support for the BraTS Toolkit's preprocessor is now deprecated, although it is expected to remain functional.", justify="center", ) console.print( - "You can already beta test the new BrainLes preprocessing: https://github.com/BrainLesion/preprocessing", + "Please note that this deprecation does not impact the segmentation and fusion module, which will continue to receive maintenance and support.", justify="center", ) console.print( - "Unlike the original preprocessing from BraTS Toolkit, the new pipeline allows for arbitrary sequences, implements multiple backends for registration and brain extration and does not require docker.", + "We recommend transitioning to the BrainLes preprocessing tool available at: https://github.com/BrainLesion/preprocessing for preprocessing tasks.", justify="center", ) + console.print( + "In contrast to the original BraTS Toolkit preprocessing, the new BrainLes pipeline offers the flexibility of arbitrary sequences, incorporates multiple backends for registration and brain extraction, and eliminates the need for Docker.", + justify="center", + ) + console.rule() console.line() func(*args, **kwargs)