Open pietemma opened 2 years ago
The warnings that you see are normal and should not stop matRad from importing RTdose. First, just to make sure that the workflow is correct: After scanning, you need to select the cubes you want to import specifically, and then click import. Now, some other questions/comments:
the modality is SIB - boost VMAT its for photons How do you select the cubes on a standalone?
It should be possible to just click the warnings away, then highlight the dose file in the RT Dose window by click and then click import. With the standalone, I can't really check what's going wrong in detail, as it does not print sophisticated error messages.
Thanks for the reply, can i send you a sample of the data in a zipped file so that you can check and see what could be the cause of the error, maybe its the data. i cannot access matlab in my location.
If you contact us via the e-mail address stated here https://github.com/e0404 or on our starting page https://e0404.github.io/matRad/ (I don't want to type the e-mail address as I don't know how well the e-mail spam protection within issues works), we can discuss if/how we may take a look at your data. Just make sure you are allowed to share it (best case would be a phantom that has the same import problems).
So there's indeed a stupid bug here in the code here:
https://github.com/e0404/matRad/blob/3d29b765a9a0a02a593890726102a7d9db907af7/dicom/matRad_importDicom.m#L127-L144
We arrive at this loop with an empty pln
and then never enter the dose import.
If we try to import the plan itself, it also fails due to having archs.
We can check it out further soon, but currently there's quite some other action going on here and it may take a while, especially since you would need a compiled standalone update.
I implemented a fix in #574 . I could build a standalone version including the fix for you if you still need it (on windows?)
Hello am using the matRad standalone, when i import DICOM data it only imports Rt structure and CT but doesn't import the plan and the doses.