trees generated through iter() don't inherit return_path setting
Example code:
from file_tree import FileTree
ft = FileTree.read("biomox_7T.tree", return_path=True)
gt = ft.update_glob("raw_t1")
gt.return_path
True
gt = gt.update(participant="108", run="01")
for t in gt.iter("raw_t1"):
print(t.get("raw_t1"))
print(type(t.get("raw_t1")))
print(t.return_path)
rawdata/sub-108/anat/sub-108_T1w.nii.gz <class 'str'> False