Skip to content

Commit 56491f6

Browse files
committed
brainprep: fix CI.
1 parent 6495372 commit 56491f6

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

brainprep/interfaces/morphologist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def morphologist_wf(
4949
t1_file: File,
5050
output_dir: Directory,
5151
workspace_dir: Directory,
52-
entities: dict) -> tuple[list[File], File]:
52+
entities: dict) -> tuple[list[File], File]:
5353
"""
5454
Sulci reconstruction and identification using morphologist.
5555

brainprep/utils/color.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def print_category_color(category: str, text: str) -> None:
3636
with a given category.
3737
3838
The output style depends on the global brainprep options:
39+
3940
- If ``verbose`` is False, only messages with category ``"deprecated"``
4041
are printed.
4142
- If ``no_color`` is True, the message is printed without color styling.
@@ -56,9 +57,8 @@ def print_category_color(category: str, text: str) -> None:
5657
5758
Notes
5859
-----
59-
The printed message follows the format:
60-
[category] - text
61-
with optional color styling applied through ``rich``.
60+
The printed message follows the format: [category] - text, with optional
61+
color styling applied through ``rich``.
6262
"""
6363
console = Console()
6464
opts = brainprep_options.get()
@@ -84,6 +84,7 @@ def print_color(color: str, text: str, end: str = "\n") -> None:
8484
Print a message to the console using a given color.
8585
8686
The output style depends on the global brainprep options:
87+
8788
- If ``verbose`` is False, no message is printed.
8889
- If ``no_color`` is True, the message is printed without color styling.
8990

0 commit comments

Comments
 (0)