annotate Database/PatientIdsCollision/Generate.sh @ 610:ec657d1a62a6 Orthanc-1.12.3

fix compatibility with python3
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 31 Jan 2024 12:18:20 +0100
parents 00e5aeea33dd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
48
e4352463ff74 test_patient_ids_collision
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 #!/bin/bash
e4352463ff74 test_patient_ids_collision
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2
e4352463ff74 test_patient_ids_collision
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 rm *.dcm
e4352463ff74 test_patient_ids_collision
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4
e4352463ff74 test_patient_ids_collision
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 for i in `seq 1 3`
e4352463ff74 test_patient_ids_collision
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6 do
e4352463ff74 test_patient_ids_collision
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 dump2dcm +Ug --write-xfer-little Image$i.dump Image$i.dcm
e4352463ff74 test_patient_ids_collision
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 done
219
00e5aeea33dd test_bitbucket_issue_131
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 48
diff changeset
9
00e5aeea33dd test_bitbucket_issue_131
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 48
diff changeset
10 dump2dcm +Ug --write-xfer-little Issue131-a.dump Issue131-a.dcm
00e5aeea33dd test_bitbucket_issue_131
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 48
diff changeset
11 dump2dcm +Ug --write-xfer-little Issue131-b.dump Issue131-b.dcm