wrssc / ray_scripts

Python scripts for RayStation treatment planning system
GNU General Public License v3.0
24 stars 5 forks source link

Issue 128 #129

Closed rabayliss closed 4 years ago

rabayliss commented 4 years ago

UpdateScripts.py: -There is an incompatibility with the rmtree command and our citrix environment for mapped drives. I have created a "move" of the active directory prior to using rmtree on the master directory and this seems to solve the problem. -Additionally, due to windows quirkiness a "sleep" is added to the remove operation and the rm is placed in a while to ensure an empty directory prior to updating scripts.

FinalDose.py: -A number of checks were turned off for debugging prior to submitting them to the master branch on the last commit. The FinalDose script now checks for fiducialpoint location, and overlap with external and support structures. -Jaw Offsets:

StructureOperations.py -I have put in error handling for a zero volume contour (empty) on an overlap check.

BeamOperations.py: -MLC properties class:

OptimizationOperations.py -eliminated small target evaluation (to be handled with jaw setback in final dose) -Added patient save to the end of the optimize plan to avoid time-out on RS servers causing a loss of saved work. -Added the automatic setting of treatment margins on VMAT and SMLC plans to prevent the overexposure of normal tissues inadequately optimized. This will force the aperture to not be never be larger than a specified margin around any target roi which exists in the Objectives list -Extended this function to co-optimized beamsets to identify the target being treated by a beamset -Cleaned up the optimize_plan function in preparation for parameterizing it using an input file.

UWLungSBRT: -Eliminating RTOFG 0618 limits on Trachea/Bronchus per MD.

AutomatedWholeBrain.py -Updated the location of the UWSupport template to autoload the HN portrait board.

Tomo3D: -A misnomer, I know. Testing preliminary feasibility. Added a beamset template for tomo3d