I am attempting to migrate my filesystem based DICOM store and index into Postgres. I am using the supplied ImportDicomFiles python script to walk through the directories. However a number are failing for some reason or another, I would say roughly half.
Is there any way of just re-sending the failed studies? I think the reason they are failing is the sheer volume I am trying to transmit.
Is there any way of verifying that all the instances on the file system have made it into the database?
Regards,
Ben Ganley
Perhaps it is worth noting this in https://orthanc.chu.ulg.ac.be/book/users/replication.html#replication
in the direct access to the filesystem section? So people expect half to fail in this instance?
Or perhaps modify the ImportDicomFiles to run
import json
try:
json.loads(data)
except ValueError:
//Post this file as it is not JSON.
This would add a lot of overhead to this script but there may be a better way of doing it.