Skip to content

Commit cc45f9d

Browse files
committed
added todo, checked coverage
1 parent b2835c8 commit cc45f9d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/pyinterpolate/semivariogram/theoretical/variogram_models/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
-------
66
1. Scott Gallacher | @scottgallacher-3
77
2. Szymon Moliński | @SimonMolinsky
8+
9+
TODO: Warning when rang is 0 or negative
810
"""
911
import numpy as np
1012

tests/test_core/test_points_data_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727

2828
REFERENCE_INPUT = np.array(REFERENCE_INPUT_LIST)
2929

30+
GS = gpd.points_from_xy(x=REFERENCE_INPUT[:, 0], y=REFERENCE_INPUT[:, 1])
3031
GEOPANDAS_INPUT = gpd.GeoDataFrame(data=REFERENCE_INPUT)
31-
GEOPANDAS_INPUT['geometry'] = gpd.points_from_xy(x=REFERENCE_INPUT[:, 0],
32-
y=REFERENCE_INPUT[:, 1])
32+
GEOPANDAS_INPUT['geometry'] = GS
3333
GEOPANDAS_INPUT.columns = ['x', 'y', 'val', 'geometry']
3434

3535
PANDAS_INPUT = pd.DataFrame(

0 commit comments

Comments
 (0)