Skip to content

Commit 97f0aaa

Browse files
committed
RF: Move BIDS skeleton generation into new testing module
1 parent 3639077 commit 97f0aaa

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

niworkflows/utils/tests/README.md renamed to niworkflows/utils/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
# Generating a BIDS skeleton
1+
# niworkflows.utils.testing
2+
## Generating a BIDS skeleton
23
Creating a BIDS skeleton can be useful when testing methods that operate on diverse BIDS datasets.
34
This readme contains some information on using `niworkflows.utils.tests.bids.generate_bids_skeleton()` to create a BIDS skeleton.
45

56

6-
## Example configuration
7+
### Example configuration
78

89
> sessions.yaml
910
File renamed without changes.

niworkflows/utils/tests/test_bids_skeleton.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pytest
22
from bids import BIDSLayout
33

4-
from .bids import generate_bids_skeleton
4+
from ..testing import generate_bids_skeleton
55

66

77
bids_dir_sessions = {

0 commit comments

Comments
 (0)