From de1230697aa1da324ef18f957f1ab12770774add Mon Sep 17 00:00:00 2001 From: Scott Huberty Date: Fri, 22 Mar 2024 15:15:14 -0700 Subject: [PATCH] TST: add tiny test --- nibabies/utils/tests/test_bids.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nibabies/utils/tests/test_bids.py b/nibabies/utils/tests/test_bids.py index c46fe3e8..29ca735c 100644 --- a/nibabies/utils/tests/test_bids.py +++ b/nibabies/utils/tests/test_bids.py @@ -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: @@ -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)