Skip to content

Commit

Permalink
Fix edge case in test_bids
Browse files Browse the repository at this point in the history
  • Loading branch information
pvandyken committed Aug 23, 2023
1 parent 414bb70 commit 6a60932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakebids/tests/test_paths/test_bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def test_directories_in_correct_order(entities: dict[str, str], root: str):
def test_values_paired_with_entities(entities: dict[str, str], root: str):
path = Path(bids(root=root, **entities))
name = "_" + path.name
parent = str(path.parent)
parent = os.path.sep + str(path.parent)

def assert_follows(string: str, first: str, second: str):
start = string.index(first) + len(first)
Expand Down

0 comments on commit 6a60932

Please sign in to comment.