Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiannucci committed Oct 11, 2023
1 parent 39e49ea commit d5b69d6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions xpublish_wms/wms/get_feature_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from fastapi import HTTPException, Response
from fastapi.responses import JSONResponse

from xpublish_wms.grid import GridType, sel2d
from xpublish_wms.grid import GridType
from xpublish_wms.utils import (
format_timestamp,
round_float_values,
Expand Down Expand Up @@ -105,8 +105,6 @@ def get_feature_info(ds: xr.Dataset, query: dict) -> Response:
"""
Return the WMS feature info for the dataset and given parameters
"""
grid_type = GridType.from_ds(ds)

# Data selection
if ":" in query["query_layers"]:
parameters = query["query_layers"].split(":")
Expand Down

0 comments on commit d5b69d6

Please sign in to comment.