Closed mxochicale closed 1 year ago
## cd $HOME/repositories/code/conda/create-virtual-environments
## conda list -n *VE # show list of installed packages
## conda update -n base -c defaults conda ## UPDATE CONDA
## conda env create -f *VE.yml ## INSTALL
## conda env update --file *VE.yml --prune ## UPDATE
## conda activate *VE ## ACTIVATE
## conda remove -n *VE --all ## REMOVE
name: scikit-surgery-VE channels:
* [x] Also, other dependencies like pandoc: Do I need `Pandoc wasn't found.` for tox -e docs
* `scikit-surgery-VE; pip pandoc` don't work
* in the terminal `sudo apt install pandoc` > `docs: commands succeeded congratulations :)`
/scikit-surgerytutorial02
tox -e docs
is 08_Documentationhttps://scikit-surgerytutorial02.readthedocs.io/en/latest/01_Starting_Out.html
Miscellaneous
List of items to update in a new branches
git commit -m "Issue #1 added some functional requirements"
in https://scikit-surgerytutorial02.readthedocs.io/en/latest/04_Planning.html might be simplified usinggit commit -m "added some functional requirements (#1)"
pylint --rcfile=tests/pylintrc scikitsurgeryspherefitting
is not mentioned in https://scikit-surgerytutorial02.readthedocs.io/en/latest/06.1_Linting.html which might be good to incorporatetests/test_sksurgeryspherefitting_demo.py
https://scikit-surgerytutorial02.readthedocs.io/en/latest/07_UserInterface.html is missing a tab, the following one should work:"""scikit-surgery-sphere-fitting tests"""
from sksurgeryspherefitting.ui.sksurgeryspherefitting_demo import run_demo
def test_fit_sphere_least_squares_demo(): model_name = 'data/CT_Level_1.vtp' output_name = 'out_temp.vtp'
wget https://github.com/thompson318/scikit-surgery-sphere-fitting/raw/master/data/US_Sphere_2.vtp
(scikit-surgery-VE) miguel@smartliveri4i-Alienware-13-R3:~/repositories/SciKit-Surgery/scikit-surgery-sphere-fitting$ python sksurgeryspherefitting.py data/CT_Level_1.vtp -o sphere.vtp Result is (array([136.571217 , 151.97335771, -95.51789211, 8.11853981]), 2) (scikit-surgery-VE) miguel@smartliveri4i-Alienware-13-R3:~/repositories/SciKit-Surgery/scikit-surgery-sphere-fitting$ python sksurgeryspherefitting.py data/US_Sphere_2.vtp -o sphere.vtp Result is (array([252.96783239, 216.57631804, 270.37878929, 596.29375964]), 2)