Skip to content

Commit 6e3b6e3

Browse files
committed
Replace tflow.get with tflow.ls.
1 parent 8976f77 commit 6e3b6e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fmripost_template/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def get_transforms(source, target, local_transforms=None):
169169
templates = tflow.get_templates()
170170
tfl_transforms = []
171171
for template in templates:
172-
template_transforms = tflow.get(template, suffix='xfm', extension='h5')
172+
template_transforms = tflow.ls(template, suffix='xfm', extension='h5')
173173
if not isinstance(template_transforms, list):
174174
template_transforms = [template_transforms]
175175
tfl_transforms += template_transforms

0 commit comments

Comments
 (0)