Skip to content

Commit

Permalink
Run linting
Browse files Browse the repository at this point in the history
  • Loading branch information
abarciauskas-bgse committed Nov 9, 2023
1 parent ed08474 commit 07e0d8f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@
}

test_transposed_netcdf_store_params = {
"params": {"url": test_transposed_netcdf_store, "variable": "precipitation", "decode_times": False},
"params": {
"url": test_transposed_netcdf_store,
"variable": "precipitation",
"decode_times": False,
},
"variables": ["precipitation"],
}

Expand Down Expand Up @@ -169,7 +173,7 @@ def test_get_tilejson_pyramid(app):

def get_tile_test(app, ds_params, zoom: int = 0):
response = app.get(
f"/tiles/0/0/0.png",
"/tiles/0/0/0.png",
params=ds_params["params"],
)
assert response.status_code == 200
Expand All @@ -192,6 +196,7 @@ def test_get_tile_reference(app):
def test_get_tile_netcdf(app):
return get_tile_test(app, test_netcdf_store_params)


def test_get_tile_transposed_netcdf(app):
return get_tile_test(app, test_transposed_netcdf_store_params)

Expand Down
2 changes: 1 addition & 1 deletion titiler/xarray/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def xarray_open_dataset(
xr_open_args: Dict[str, Any] = {
"decode_coords": "all",
"decode_times": decode_times,
"engine": xr_engine
"engine": xr_engine,
}

# Argument if we're opening a datatree
Expand Down

0 comments on commit 07e0d8f

Please sign in to comment.