-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor, add tests and support for pixel data interface v2 (#82)
- Loading branch information
1 parent
1b4fab8
commit c0766f1
Showing
14 changed files
with
517 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
[run] | ||
omit = | ||
pylibjpeg/tests/* | ||
pylibjpeg/scripts/* | ||
pylibjpeg/tools/* | ||
pylibjpeg-data/* | ||
pylibjpeg-libjpeg/* | ||
pydicom/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import logging | ||
import sys | ||
|
||
_logger = logging.getLogger(__name__) | ||
LOGGER = logging.getLogger(__name__) | ||
|
||
try: | ||
import ljdata as _data | ||
|
||
globals()["data"] = _data | ||
# Add to cache - needed for pytest | ||
sys.modules["pylibjpeg.data"] = _data | ||
_logger.debug("pylibjpeg-data module loaded") | ||
LOGGER.debug("pylibjpeg-data module loaded") | ||
except ImportError: | ||
pass |
Oops, something went wrong.