Closed arokem closed 4 years ago
hey @arokem - the get()
method is essentially an extension of bids, so you'll have to specify each entity as a unique field in your query. try something like:
tf.get('MNI152NLin2009cAsym', resolution=2, desc='brain', suffix='mask')
Yes! That works. I guess the thing I missed was the fact that mask was the suffix. Excellent - thanks!
I would have expected:
to return
PosixPath('/Users/arokem/.cache/templateflow/tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-02_desc-brain_mask.nii.gz')
, but I get an empty list instead. Am I doing this wrong?