Skip to content

Commit 868236a

Browse files
committed
switch to set; remove slow marker
1 parent 8d8c5cf commit 868236a

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/rbc/core/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import shutil
44
import tempfile
5-
from collections.abc import Iterator
5+
from collections.abc import Iterable, Iterator
66
from contextlib import contextmanager
77
from pathlib import Path
88

@@ -30,7 +30,7 @@ def create_copy(in_file: str | Path) -> Iterator[Path]:
3030

3131

3232
def get_base_entities(
33-
in_file: Path, base_entities: list[str] = ["sub", "ses", "run"]
33+
in_file: Path, base_entities: Iterable[str] = ("sub", "ses", "run")
3434
) -> dict[str, str]:
3535
"""Parse base BIDS entities to be used for file naming.
3636

tests/integration/test_anatomical.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ def test_brain_extraction(test_subject: SimpleNamespace) -> None:
2424
)
2525

2626

27-
@pytest.mark.slow
2827
def test_tissue_segmentation(test_subject: SimpleNamespace) -> None:
2928
"""Test tissue segmentation."""
3029
tissue_mask = anatomical.fsl_tissue_segmentation(

0 commit comments

Comments
 (0)