Closed mxochicale closed 1 year ago
Then do
cd sksurgeryspherefitting/
git init
git branch -m main
git add .
git commit -m "Initial commit of my sphere fitter"
git remote add origin git@github.com:mxochicale/sksurgeryspherefitting.git
git push origin main
Notes:
[x] add vi reference for commands > https://www.redhat.com/sysadmin/introduction-vi-editor
[x] do we really need pandoc for this tutorial?> lib doesnt seem to require pandoc so, we might like to update this line "scikit-surgery-sphere-fitting require pandoc: universal document converter pandoc_installation." but need to check because of sphinx. Might be fixed, so would need to check it.
[x] this is confusing for new lines: "project_description [scikit-surgery-sphere-fitting is a Python package]: scikit-surgery-sphere-fitting implements a least squares sphere fitting algorithm, to read a vtk poly data file, a config file, and outputs the fitted sphere."
git branch --merged | grep -i -v -E "master|main" | xargs git branch -d
Source: https://www.w3docs.com/snippets/git/how-to-delete-already-merged-git-branches.html
__main__.py, __init__.py
that brings other linting errors https://github.com/mxochicale/scikit-surgerytutorial02-test#def test_using_pytest_sksurgeryspherefitting():
# x = 1
# y = 2
# verbose = False
# multiply = False
#
# expected_answer = 3
# assert run_demo(x, y, multiply, verbose) == expected_answer
Error from tox -e lint on Window's computer
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'c:\users\musa_\onedrive\documents\sksurgeryspherefittingtest2\.tox\lint\lib\site-packages\virtualenv-20.23.1.dist-info\METADATA'
lint: exit 1 (41.91 seconds) C:\Users\musa_\OneDrive\Documents\sksurgeryspherefittingtest2> python -I -m pip install pylint -r requirements-dev.txt pid=11200 lint: FAIL code 1 (42.09 seconds) evaluation failed :( (42.70 seconds) (scikit-surgeryTUTORIAL02VE)
vtk>=9.2.6
> aligning with https://github.com/SciKit-Surgery/scikit-surgerytutorial02/blob/master/requirements.txtRemove version to avoid package version conflicts
- vtk>=9.2.6
- scikit-surgeryvtk>=2.0.1
- scikit-surgeryimage
- scikit-surgerycore
For github actions, you will need to amend /.github/workflows/ci.yml using only python version 3.7
Test it out. Your documentation on readthedocs should now be automatically updated each time you push a commit to GitHub.
We used to build the docs on WEISSlab then push them to readthedocs. We don't do that anymore, they are built entirely on readthedocs, so remove all reference to weisslab.
Raising this one because "Authentication failed"
remote: Support for password authentication was removed on August 13, 2021. remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication. fatal: Authentication failed for 'https://github.com/mxochicale/scikit-surgerytutorial02-test.git/'