wrssc / ray_scripts

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

Issue 145 python 3 update #146

Closed rabayliss closed 3 years ago

rabayliss commented 3 years ago

This commit updates the master branch to version 10A of Raystation (service pack 1) and utilizes python3 instead of python2. Most of the major changes are related to differences in python2 syntax. Several “create” methods in Raystation were changed in 10A. To avoid significant time losses in the future, major calls to the API are now wrapped into function calls within rayscripts. For instance, instead of the auto_wholebrain script creating beamsets within the script, it calls BeamOperations.create_beamset. Next time RS changes the API, only one change in RayScripts will be required. Documentation has been updated with wiki-help pages coming based on the contents of this document.