Skip to content
forked from bungun/conrad

convex radiation treatment planning

License

Notifications You must be signed in to change notification settings

mueller-seb/conrad

 
 

Repository files navigation

conrad Build Status Documentation Status

convex radiation treatment planning

HowTo

  1. (install gcc)

  2. create python 3.7 environment, e.g. by (ana)conda:

     conda create -n conrad python=3.7
    
  3.  git clone https://github.com/mueller-seb/conrad/
    
  4. select the correct branch (cvxpy_1.0 or brachytherapy)

     git checkout <branch>
    
  5.  pip install -r requirements.txt
    
  6.  pip install -e .
    

In case of problems compare library versions with requirements_py37.txt

Build Documentation

  1. cd /docs
    
  2. pip install -r requirements.txt
    
  3. pip install mock
    
  4. install make 
    
  5. make html
    

Compability Problems [fixed/implemented]

  1. downgrade setuptools<58 to avoid use_2to3 error

     pip install setuptools==57.5.0
    
  2. 'get_installed_distributions' from 'pip._internal.utils.misc' deprecated since pip>20.X; use pkg_resources instead

DEPRECATED BRANCH (DO NOT USE)

Don't use the master branch of conrad, it is deprecated as it depends on CVXPY 0.x However if you do so, you have to use gcc<=10 to compile old CVXPY libraries.

  • multiprocess==0.70.5 if error "Python before 3.6 not supported" occurs
  • CVXcanon==0.1.1 if error "canonInterface.py" occurs in hello_world.py
  • scs==1.2.7 if SCS solving error occurs in CVX
  • install matplotlib if 'NoneType' object has no attribute dvh_plot

see /oldrequirements for a full list of libraries

About

convex radiation treatment planning

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Shell 0.1%