Skip to content

Commit

Permalink
Merge pull request #77 from AlonDaks/master
Browse files Browse the repository at this point in the history
Fixed tests for data_path
  • Loading branch information
AlonDaks committed Dec 13, 2015
2 parents e30834a + 4444384 commit 7814ba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/stat159lambda/utils/tests/test_data_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_get_concatenated_path():


def test_get_smoothed_path():
paths = [dp.get_smooth_path(subject, FWHM_MM) for subject in SUBJECTS]
paths = [dp.get_smoothed_path(subject, FWHM_MM) for subject in SUBJECTS]
assert paths[0] == '{0}/data/processed/sub1_rcds_smoothed_8_mm.npy'.format(
REPO_HOME_PATH)
assert paths[1] == '{0}/data/processed/sub2_rcds_smoothed_8_mm.npy'.format(
Expand All @@ -46,7 +46,7 @@ def test_get_smoothed_path():


def test_get_smoothed_2d_path():
paths = [dp.get_smooth_2d_path(subject, FWHM_MM) for subject in SUBJECTS]
paths = [dp.get_smoothed_2d_path(subject, FWHM_MM) for subject in SUBJECTS]
assert paths[0] == '{0}/data/processed/sub1_rcds_smoothed_8_mm_2d.npy'.format(
REPO_HOME_PATH)
assert paths[1] == '{0}/data/processed/sub2_rcds_smoothed_8_mm_2d.npy'.format(
Expand Down

0 comments on commit 7814ba8

Please sign in to comment.