diff --git a/README.rst b/README.rst index 26120d8d299cb01aae690ee454dea1f392045f67..8c6352f20144bcbd67ea8114ee4349d6a1f5d49d 100644 --- a/README.rst +++ b/README.rst @@ -41,31 +41,33 @@ For more information, see: Installation from pypi -``` -pip install ntrfc -``` + + pip install ntrfc + + + Installation from gitlab with pip -``` -pip install git+https://gitlab.uni-hannover.de/tfd_public/tools/NTRfC.git -``` + + pip install git+https://gitlab.uni-hannover.de/tfd_public/tools/NTRfC.git + Installation from source After cloning the repository, go to the project root dir and type -``` -python setup.py install -``` + + python setup.py install + Editable installation from source with pip After cloning the repository, go to the project root dir and type -``` -pip install -e . -``` + + pip install -e . + This way you have NTRfC installed but the code is not installed, but linked to the source-code. You don't have to reinstall the package after your edits. diff --git a/ntrfc/turbo/pointcloud_methods.py b/ntrfc/turbo/pointcloud_methods.py index 44b50cc4b43c9112e85f659015e236aeaa24725a..7f88a44f7db7b8896fa48264b1bbdeafc161ce86 100644 --- a/ntrfc/turbo/pointcloud_methods.py +++ b/ntrfc/turbo/pointcloud_methods.py @@ -1,5 +1,3 @@ -import warnings - import numpy as np from ntrfc.geometry.line import polyline_from_points, refine_spline @@ -49,8 +47,6 @@ def extractSidePolys(ind_1, ind_2, sortedPoly): side_one = sortedPoly.extract_points(side_one_idx) side_two = sortedPoly.extract_points(side_two_idx) - warnings.warn( - 'Warning: the position of ssPoly and psPoly in the return of extractSidePolys changed. In case of unexpected results of your application, check the usage of ssPoly and psPoly') return side_one, side_two