Skip to content
Snippets Groups Projects
Commit 81bc0eb2 authored by Malte Nyhuis's avatar Malte Nyhuis
Browse files

Merge branch 'warning_removal' into 'master'

warning removal

See merge request !58
parents 7c7ae513 1b321107
No related branches found
No related tags found
1 merge request!58warning removal
Pipeline #16112 passed
...@@ -41,31 +41,33 @@ For more information, see: ...@@ -41,31 +41,33 @@ For more information, see:
Installation from pypi Installation from pypi
```
pip install ntrfc pip install ntrfc
```
Installation from gitlab with pip 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 Installation from source
After cloning the repository, go to the project root dir and type 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 Editable installation from source with pip
After cloning the repository, go to the project root dir and type 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. 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. You don't have to reinstall the package after your edits.
......
import warnings
import numpy as np import numpy as np
from ntrfc.geometry.line import polyline_from_points, refine_spline from ntrfc.geometry.line import polyline_from_points, refine_spline
...@@ -49,8 +47,6 @@ def extractSidePolys(ind_1, ind_2, sortedPoly): ...@@ -49,8 +47,6 @@ def extractSidePolys(ind_1, ind_2, sortedPoly):
side_one = sortedPoly.extract_points(side_one_idx) side_one = sortedPoly.extract_points(side_one_idx)
side_two = sortedPoly.extract_points(side_two_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 return side_one, side_two
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment