Skip to content

Commit

Permalink
Minor test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelzwiers committed Feb 7, 2024
1 parent 1121e59 commit 1e9481e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,11 @@ def test_get_dicomfield(dcm_file_csa):


@pytest.mark.parametrize('template', bcoin.list_plugins()[1])
def test_load_check_template(template: dict):

dataformat = list(template.keys())[0]
def test_load_check_template(template: Path):

# Load a valid template
bidsmap, _ = bids.load_bidsmap(template, checks=(False, False, False))
dataformat = list(bidsmap.keys())[0]
assert isinstance(bidsmap, dict) and bidsmap
assert bids.check_template(bidsmap) is True

Expand Down

0 comments on commit 1e9481e

Please sign in to comment.