stevenpawley / Pyspatialml

Machine learning modelling for spatial data
GNU General Public License v3.0
145 stars 29 forks source link

indentation error in `get_random_point_in_polygon` #6

Closed amine-aboufirass closed 5 years ago

amine-aboufirass commented 5 years ago

There seems to be an indentation issue with the get_random_point_in_polygon routine:

Traceback (most recent call last):
  File "LSM.py", line 1, in <module>
    from LSM_common import *
  File "D:\LSM\LSM_common.py", line 19, in <module>
    from pyspatialml import vector
  File "C:\Users\aboufira\AppData\Local\Continuum\miniconda3\envs\myenv\lib\site-packages\pyspatialml\vector.py", line 28
    from scipy.cluster.hierarchy import dendrogram, linkage, cut_tree
                                                                    ^
TabError: inconsistent use of tabs and spaces in indentation

Would you like me to fix this for you and submit a pull request?

stevenpawley commented 5 years ago

Thanks for this, should be fixed now

amine-aboufirass commented 5 years ago

You're very welcome... This is a great library by the way. Is the development/testing still in its early stages or are you also looking for additional contributors? I am quite proficient with geopandas/rasterio... though willing to improve my understanding of ML algorithms...