On Windows the skin dose map data is not calculated on import when this option is selected. The study itself is successfully imported into OpenREM, it is just that the skin dose map data is not calculated and put in the appropriate folder in
If you click on the study in OpenREM to view its details then the skin dose map data is successfully calculated. This makes me think that there is nothing wrong with the
make_skin_map routine, and that it is working OK with celery.
I suspect that the
rdsr.py is causing the problem, because changing
solves the problem. Perhaps the
delay in the
rdsr.py call to
make_skin_map is not needed because
make_skin_map is already being run as a celery task?
I have tested the above change by importing a fluoro rdsr, and whilst it is importing and the skin dose data being calculated I have imported several DX studies. The fluoro data and skin dose map data were calculated correctly, and I imported nine DX studies at the same time. I think the above is what is needed.