Skip to content

Commit a5f48d7

Browse files
committed
rss/vms_gb -> rss/vms_GiB
1 parent 5c56bfe commit a5f48d7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

nipype/interfaces/base/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,9 +530,9 @@ def run(self, **inputs):
530530

531531
runtime.prof_dict = {
532532
'time': vals[:, 0].tolist(),
533-
'rss_gb': (vals[:, 1] / 1024).tolist(),
533+
'rss_GiB': (vals[:, 1] / 1024).tolist(),
534534
'cpus': vals[:, 2].tolist(),
535-
'vms_gb': (vals[:, 3] / 1024).tolist(),
535+
'vms_GiB': (vals[:, 3] / 1024).tolist(),
536536
}
537537

538538
return results

nipype/pipeline/engine/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,8 +1320,8 @@ def write_workflow_resources(graph, filename=None, append=None):
13201320
'time': [],
13211321
'name': [],
13221322
'interface': [],
1323-
'rss_gb': [],
1324-
'vms_gb': [],
1323+
'rss_GiB': [],
1324+
'vms_GiB': [],
13251325
'cpus': [],
13261326
'mapnode': [],
13271327
'params': [],
@@ -1362,7 +1362,7 @@ def write_workflow_resources(graph, filename=None, append=None):
13621362
'(mapflow %d/%d).', nodename, subidx + 1, len(rt_list))
13631363
continue
13641364

1365-
for key in ['time', 'rss_gb', 'cpus', 'vms_gb']:
1365+
for key in ['time', 'rss_GiB', 'cpus', 'vms_GiB']:
13661366
big_dict[key] += runtime.prof_dict[key]
13671367

13681368
big_dict['interface'] += [classname] * nsamples

0 commit comments

Comments
 (0)