Skip to content

Commit be7f6b4

Browse files
committed
[skip ci] clean header up, fix two pep8 warnings
1 parent 612ed03 commit be7f6b4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

nipype/utils/profiler.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# -*- coding: utf-8 -*-
2-
# @Author: oesteban
3-
# @Date: 2017-09-21 15:50:37
4-
# @Last Modified by: oesteban
5-
# @Last Modified time: 2017-11-15 11:14:07
2+
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
3+
# vi: set ft=python sts=4 ts=4 sw=4 et:
64
"""
75
Utilities to keep track of performance
86
"""
@@ -320,7 +318,8 @@ def _use_cpu(x):
320318
ctr = 0
321319
while ctr < 1e7:
322320
ctr += 1
323-
x*x
321+
x * x
322+
324323

325324
# Spin multiple threads
326325
def _use_resources(n_procs, mem_gb):

0 commit comments

Comments
 (0)