Skip to content

Commit

Permalink
Merge pull request #1 from effigies/fix/py3_dicom_slice_sorting
Browse files Browse the repository at this point in the history
TEST: Move test DICOMs into nicom/tests/data
  • Loading branch information
reddigari committed Mar 8, 2019
2 parents 4e33547 + 4e822f1 commit 28c4576
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions nibabel/nicom/tests/test_dicomreaders.py
Expand Up @@ -73,8 +73,7 @@ def test_passing_kwds():

@dicom_test
def test_slices_to_series():
test_data_path = abspath(pjoin(IO_DATA_PATH, "..", "..", "..", "tests", "data"))
dicom_files = (pjoin(test_data_path, "%d.dcm" % i) for i in range(2))
dicom_files = (pjoin(IO_DATA_PATH, "%d.dcm" % i) for i in range(2))
wrappers = [didr.wrapper_from_file(f) for f in dicom_files]
series = didr.slices_to_series(wrappers)
assert_equal(len(series), 1)
Expand Down

0 comments on commit 28c4576

Please sign in to comment.