Skip to content

Commit aa59f09

Browse files
committed
minor change
1 parent 694be1f commit aa59f09

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugins/gbif/gbif_data.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030

3131
logger = logging.getLogger(os.path.basename(__file__))
3232

33-
__BD_BORDERS = gpd.read_file(gpd.datasets.get_path("naturalearth_lowres"))
34-
3533
def gbif_doi_search(doi):
3634
"""
3735
Realiza una búsqueda en GBIF utilizando un DOI y devuelve la información del conjunto de datos.
@@ -401,6 +399,7 @@ def geographic_percentajes(df):
401399
Geographic: 63.45%
402400
{'Geographic': 63.45, 'Coordinates': 25.6, 'Countries': 15.2, 'CoordinatesUncertainty': 18.9, 'IncorrectCoordinates': 3.75}
403401
"""
402+
__BD_BORDERS = gpd.read_file(gpd.datasets.get_path("naturalearth_lowres"))
404403
# Total de ocurrencias
405404
total_data = len(df)
406405

0 commit comments

Comments
 (0)