Skip to content

Commit ecbe984

Browse files
committed
STY: delete additional space [skip ci]
1 parent 98bc483 commit ecbe984

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

notebooks/wip_resource_sched_profiler.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"The ``MultiProc`` workflow plugin schedules node execution based on the resources used by the current running nodes and the total resources available to the workflow. The plugin utilizes the plugin arguments ``n_procs`` and ``memory_gb`` to set the maximum resources a workflow can utilize. To limit a workflow to using 8 cores and 10 GB of RAM:\n",
4848
"\n",
4949
"```python\n",
50-
"args_dict = {'n_procs' : 8, 'memory_gb' : 10}\n",
50+
"args_dict = {'n_procs': 8, 'memory_gb': 10}\n",
5151
"workflow.run(plugin='MultiProc', plugin_args=args_dict)\n",
5252
"```\n",
5353
"\n",
@@ -78,7 +78,7 @@
7878
"outputs": [],
7979
"source": [
8080
"from nipype.utils.profiler import log_nodes_cb\n",
81-
"args_dict = {'n_procs' : 8, 'memory_gb' : 10, 'status_callback' : log_nodes_cb}"
81+
"args_dict = {'n_procs': 8, 'memory_gb': 10, 'status_callback': log_nodes_cb}"
8282
]
8383
},
8484
{
@@ -191,7 +191,7 @@
191191
"outputs": [],
192192
"source": [
193193
"from nipype.utils.profiler import log_nodes_cb\n",
194-
"args_dict = {'n_procs' : 8, 'memory_gb' : 10, 'status_callback' : log_nodes_cb}\n",
194+
"args_dict = {'n_procs': 8, 'memory_gb': 10, 'status_callback': log_nodes_cb}\n",
195195
"workflow.run(plugin='MultiProc', plugin_args=args_dict)\n",
196196
"\n",
197197
"# ...workflow finishes and writes callback log to '/home/user/run_stats.log'\n",

0 commit comments

Comments
 (0)