Skip to content

Commit

Permalink
TST: add tiny test
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-huberty committed Mar 22, 2024
1 parent 893074b commit de12306
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nibabies/utils/tests/test_bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def test_derivatives(
assert derivatives.aseg is None
assert derivatives.t1w_aseg is None
assert derivatives.t2w_aseg is None
assert "t1w_mask" in repr(derivatives)

derivatives.populate(deriv_dir, subject_id='01')
if mask:
Expand All @@ -111,3 +112,5 @@ def test_derivatives(
assert derivatives.references[aseg]
else:
assert derivatives.aseg == None
if t1w_mask:
assert "sub-01_space-T1w_desc-brain_mask.nii.gz" in repr(derivatives)

0 comments on commit de12306

Please sign in to comment.