-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix lookup of element tag given attribute keyword
- Loading branch information
hackermd
committed
Nov 15, 2018
1 parent
c3f8e00
commit 1f40962
Showing
4 changed files
with
30 additions
and
5 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,3 +1,3 @@ | ||
__version__ = '0.9.3' | ||
__version__ = '0.9.4' | ||
|
||
from dicomweb_client.api import DICOMwebClient |
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,6 +1,12 @@ | ||
'''Custom error classes''' | ||
import requests | ||
|
||
|
||
class DICOMJSONError(ValueError): | ||
'''Exception class for malformatted DICOM JSON.''' | ||
pass | ||
|
||
|
||
class HTTPError(requests.exceptions.HTTPError): | ||
'''Exception class for HTTP requests with failure status codes.''' | ||
pass |
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