Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions build_tools/travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,5 @@ else
fi

python --version
# Install the test data
python -m pip install git+git://github.com/pydicom/pylibjpeg-data
13 changes: 13 additions & 0 deletions pylibjpeg/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
"""Set package shortcuts."""

import sys

from ._version import __version__
from .libjpeg import decode, add_handler, remove_handler, get_parameters


# Add the testing data to pylibjpeg (if available)
try:
import data as _data
globals()['data'] = _data
# Add to cache - needed for pytest
sys.modules['pylibjpeg.data'] = _data
except ImportError:
pass

# Add the pixel data handler to pydicom (if available)
try:
import pydicom
add_handler()
Expand Down
1 change: 0 additions & 1 deletion pylibjpeg/data/__init__.py

This file was deleted.

Binary file removed pylibjpeg/data/ds/JPEG2000/693_J2KI.dcm
Binary file not shown.
Binary file removed pylibjpeg/data/ds/JPEG2000/JPEG2000.dcm
Binary file not shown.
Binary file removed pylibjpeg/data/ds/JPEG2000/MR2_J2KI.dcm
Binary file not shown.
Binary file removed pylibjpeg/data/ds/JPEG2000/RG1_J2KI.dcm
Binary file not shown.
Binary file removed pylibjpeg/data/ds/JPEG2000/RG3_J2KI.dcm
Binary file not shown.
Binary file removed pylibjpeg/data/ds/JPEG2000/SC_rgb_gdcm_KY.dcm
Binary file not shown.
Binary file removed pylibjpeg/data/ds/JPEG2000/US1_J2KI.dcm
Binary file not shown.
107 changes: 0 additions & 107 deletions pylibjpeg/data/ds/JPEG2000/__init__.py

This file was deleted.

Binary file removed pylibjpeg/data/ds/JPEG2000Lossless/693_J2KR.dcm
Binary file not shown.
Binary file not shown.
Binary file removed pylibjpeg/data/ds/JPEG2000Lossless/MR2_J2KR.dcm
Binary file not shown.
Binary file not shown.
Binary file removed pylibjpeg/data/ds/JPEG2000Lossless/RG1_J2KR.dcm
Binary file not shown.
Binary file removed pylibjpeg/data/ds/JPEG2000Lossless/RG3_J2KR.dcm
Binary file not shown.
Binary file removed pylibjpeg/data/ds/JPEG2000Lossless/US1_J2KR.dcm
Binary file not shown.
140 changes: 0 additions & 140 deletions pylibjpeg/data/ds/JPEG2000Lossless/__init__.py

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed pylibjpeg/data/ds/JPEGBaseline/SC_rgb_jpeg_dcmtk.dcm
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading