Skip to content

Commit 0c20715

Browse files
committed
fix: change doctest interface logging to file
1 parent 2b485be commit 0c20715

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mindboggle/shapes/surface_shapes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def area(command, surface_file, verbose=False):
6262

6363
cli = CommandLine(command=command)
6464
cli.inputs.args = args
65-
cli.cmdline
65+
cli.terminal_output = 'file'
6666
cli.run()
6767

6868
if not os.path.exists(area_file):
@@ -120,7 +120,7 @@ def travel_depth(command, surface_file, verbose=False):
120120

121121
cli = CommandLine(command=command)
122122
cli.inputs.args = args
123-
cli.cmdline
123+
cli.terminal_output = 'file'
124124
cli.run()
125125

126126
if not os.path.exists(depth_file):
@@ -176,7 +176,7 @@ def geodesic_depth(command, surface_file, verbose=False):
176176

177177
cli = CommandLine(command=command)
178178
cli.inputs.args = args
179-
cli.cmdline
179+
cli.terminal_output = 'file'
180180
cli.run()
181181

182182
if not os.path.exists(depth_file):
@@ -309,7 +309,7 @@ def curvature(command, method, arguments, surface_file, verbose=False):
309309

310310
cli = CommandLine(command=command)
311311
cli.inputs.args = ' '.join(args)
312-
cli.cmdline
312+
cli.terminal_output = 'file'
313313
cli.run()
314314

315315
return mean_curvature_file, gauss_curvature_file, \

0 commit comments

Comments
 (0)