Skip to content

Commit

Permalink
Fixed linear_modeling tests under python3
Browse files Browse the repository at this point in the history
  • Loading branch information
AlonDaks committed Dec 8, 2015
1 parent 509e2ce commit dcd399f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/utils/linear_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import numpy.linalg as npl
from scipy.stats import t as t_dist
from scipy.ndimage import gaussian_filter
import scene_slicer as ssm
from . import scene_slicer as ssm
import nibabel as nib


Expand Down
2 changes: 1 addition & 1 deletion code/utils/tests/test_linear_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def test_get_top_32():

def test_get_index_4d():
actual = linear_modeling.get_index_4d([0, 2], data)
assert_equal(actual, [(0, 0), (0, 2)])
assert_equal(list(actual), [(0, 0), (0, 2)])

# def test_plot_single_voxel():
# not sure how to test plots

0 comments on commit dcd399f

Please sign in to comment.