We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f982076 commit fa65cafCopy full SHA for fa65caf
nipype/pipeline/plugins/tests/test_callback.py
@@ -73,7 +73,7 @@ def test_callback_gantt(tmpdir, plugin):
73
from nipype.utils.profiler import log_nodes_cb
74
from nipype.utils.draw_gantt_chart import generate_gantt_chart
75
76
- log_filename = "callback.log"
+ log_filename = path.join(tmpdir, "callback.log")
77
logger = logging.getLogger("callback")
78
logger.setLevel(logging.DEBUG)
79
handler = logging.FileHandler(log_filename)
@@ -92,5 +92,7 @@ def test_callback_gantt(tmpdir, plugin):
92
plugin_args["n_procs"] = 8
93
wf.run(plugin=plugin, plugin_args=plugin_args)
94
95
- generate_gantt_chart("callback.log", 1 if plugin == "Linear" else 8)
96
- assert path.exists("callback.log.html")
+ generate_gantt_chart(
+ path.join(tmpdir, "callback.log"), 1 if plugin == "Linear" else 8
97
+ )
98
+ assert path.exists(path.join(tmpdir, "callback.log.html"))
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments