home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 651662701

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/pull/4187#issuecomment-651662701 https://api.github.com/repos/pydata/xarray/issues/4187 651662701 MDEyOklzc3VlQ29tbWVudDY1MTY2MjcwMQ== 23487320 2020-06-30T09:03:53Z 2020-06-30T09:24:12Z CONTRIBUTOR

Nevermind, I found it. There was an if that should have been an elif. Onward to the next error - UnboundLocalError. Edit: Also fixed!

```python-traceback =================================== FAILURES =================================== __________________________ TestDataset.test_lazy_load __________________________ self = <xarray.tests.test_dataset.TestDataset object at 0x7f4aed5df940> def test_lazy_load(self): store = InaccessibleVariableDataStore() create_test_data().dump_to_store(store) for decode_cf in [True, False]: > ds = open_dataset(store, decode_cf=decode_cf) xarray/tests/test_dataset.py:4188: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xarray/backends/api.py:587: in open_dataset ds = maybe_decode_store(store) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ store = <xarray.tests.test_dataset.InaccessibleVariableDataStore object at 0x7f4aed5dfb38> lock = False def maybe_decode_store(store, lock=False): ds = conventions.decode_cf( store, mask_and_scale=mask_and_scale, decode_times=decode_times, concat_characters=concat_characters, decode_coords=decode_coords, drop_variables=drop_variables, use_cftime=use_cftime, decode_timedelta=decode_timedelta, ) _protect_dataset_variables_inplace(ds, cache) > if chunks is not None: E UnboundLocalError: local variable 'chunks' referenced before assignment xarray/backends/api.py:466: UnboundLocalError ```
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  647804004
Powered by Datasette · Queries took 79.178ms · About: xarray-datasette