Skip to content
Snippets Groups Projects
Commit f1b3a79a authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Merge branch 'mnt/suppress-smoothest-output' into 'main'

MNT: suppress smoothest stdout by default

See merge request fsl/fslpy!435
parents b4235b35 212def9f
No related branches found
No related tags found
No related merge requests found
Pipeline #22067 canceled
...@@ -88,6 +88,10 @@ def smoothest(inimg=None, **kwargs): ...@@ -88,6 +88,10 @@ def smoothest(inimg=None, **kwargs):
'FWHMmm' : [3.15631, 3.28437, 2.85206] 'FWHMmm' : [3.15631, 3.28437, 2.85206]
} }
""" """
# Suppress stdout unless otherwise instructed
kwargs['log'] = kwargs.get('log', {'tee' : False})
result = _smoothest(**kwargs) result = _smoothest(**kwargs)
result = result.stdout[0] result = result.stdout[0]
result = result.strip().split('\n')[-5:] result = result.strip().split('\n')[-5:]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment