We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61283b1 commit f2736faCopy full SHA for f2736fa
benchmark/benchcodecs.py
@@ -1,10 +1,13 @@
1
"""
2
Speed benchmark for saving/loading numpy arrays using various compression codecs
3
4
-import jdata as jd
5
-import numpy as np
6
import time
7
import os
+import numpy as np
+
8
+sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
9
10
+import jdata as jd
11
12
print("jdata version:" + jd.__version__)
13
benchmark/benchnifti.py
@@ -1,5 +1,6 @@
+import sys
import glob
import urllib.request
import zipfile
@@ -8,6 +9,9 @@
import nibabel as nib
import numpy as np
14
15
import jdata as jd
16
17
tempdir = tempfile.mkdtemp()
0 commit comments