scikit-surgery¶

SciKit-Surgery is part of the SciKit-Surgery image guided surgery software project, developed at the Wellcome EPSRC Centre for Interventional and Surgical Sciences, part of University College London (UCL).
scikit-surgery is a meta-package that will install several other packages:
Developing¶
Cloning¶
You can clone the repository using the following command:
git clone https://github.com/UCL/scikit-surgery
Encountering Problems?¶
Please check list of common issues.
Contributing¶
Please see the contributing guidelines.
Useful links¶
Licensing and copyright¶
Copyright 2018 University College London. scikit-surgery is released under the BSD-3 license. Please see the license file for details.
Acknowledgements¶
Supported by Wellcome and EPSRC.
Requirements for scikit-surgery¶
This is the software requirements file for scikit-surgery, part of the SNAPPY project. The requirements listed below should define what scikit-surgery does. Each requirement can be matched to a unit test that checks whether the requirement is met.
Requirements¶
ID | Description | Unit test |
---|---|---|
0000 | Module has a help page | |
0001 | Functions are documented | |
0002 | Package has a version number |
Get started with PyCharm¶
PyCharm is a popular python editor. This is a quickstart guide setting up PyCharm for developing sksurgery. This assumes you have PyCharm installed and configured to support virtual environments.
- Start PyCharm
- Select File > Open
- Select the project’s folder
- Open in a new window
- Open Preferences
- Click on Project: [YourProject] and select Project Interpreter
- At the right of the Project Interpreterm, click the cog
- Select Add Local…
- Select Virtual Environment
- Choose a location for your virtual environment (for example, [YourHomeFolder]/VirtualEnvs/[YourProjectName])
- Select a base interpreter (usually the latest version of Python 3).
- Recommended settings: Do not inherit global site-packages, and do not make available to all projects.
- Click OK
- Click on Terminal
- pip install tox
- tox
- Expand the project
- Right-click on the Tests folder and choose “Run Unittests in tests”. This will create a new configuration for running tests
- Right-click on sksurgery and select Run sksurgery. This will create a new configuration for running the project.
- Switch between the program and test configurations using the drop-down at the top of the screen, and the green arrow to run or the green bug to debug.