File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 19
19
20
20
import numpy as np
21
21
22
+ from six import BytesIO
22
23
23
24
from .butils import print_git_title
24
25
25
26
from numpy .testing import measure
26
27
28
+ from nibabel .volumeutils import array_to_file
29
+
27
30
28
31
def bench_array_to_file ():
29
32
rng = np .random .RandomState (20111001 )
Original file line number Diff line number Diff line change 24
24
25
25
from numpy .testing import measure
26
26
27
+ from nibabel .volumeutils import finite_range
28
+
27
29
28
30
def bench_finite_range ():
29
31
rng = np .random .RandomState (20111001 )
Original file line number Diff line number Diff line change 2
2
import sys
3
3
import subprocess
4
4
try :
5
- from ConfigParser import ConfigParser
5
+ from ConfigParser import RawConfigParser as ConfigParser
6
6
except ImportError :
7
- from configparser import ConfigParser # python 3
7
+ from configparser import RawConfigParser as ConfigParser # python 3
8
8
9
9
COMMIT_INFO_FNAME = 'COMMIT_INFO.txt'
10
10
You can’t perform that action at this time.
0 commit comments