Skip to content

Commit

Permalink
upgraded script to handle dict in results
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrickboom committed Jul 31, 2024
1 parent 367c437 commit 9cd4215
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM orthancteam/orthanc:24.5.1
FROM orthancteam/orthanc:24.7.3

COPY proxy.py /scripts/

Expand Down
4 changes: 3 additions & 1 deletion proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ def BuildTagsListFromDicomWebAnswer(answer):
if "Alphabetic" in value:
dicomDict[tag] = value["Alphabetic"]
else:
raise Exception('The tag {0} does contain this dict: {1}, but this dict is not expected in the proxy plugin!'.format(tag, value))
#raise Exception('The tag {0} does contain this dict: {1}, but this dict is not expected in the proxy plugin!'.format(tag, value))
dicomDict.update(BuildTagsListFromDicomWebAnswer(value))

# most of the tags simply contain a value:
else:
dicomDict[tag] = str(value)
Expand Down
5 changes: 4 additions & 1 deletion release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ Warning: version number should fit with Orthanc docker image version number!
(so a new version of the forwarder with the same version of Orthanc should be tagged 22.10.1.x)


v 24.5.1.1
v 24.7.3.1
=========
- upgraded script to handle dict in results

v 24.5.1.1
=========
- use of Orthanc with new C-Move callbacks (python plugin v4.2)

v 24.2.0.1
Expand Down
2 changes: 1 addition & 1 deletion simple-setup/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ services:
}
orthanc-pacs:
image: orthancteam/orthanc:24.5.1
image: orthancteam/orthanc:24.6.1
restart: unless-stopped
ports: ["8044:8042"]
environment:
Expand Down

0 comments on commit 9cd4215

Please sign in to comment.