home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1124163546

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/6566#issuecomment-1124163546 https://api.github.com/repos/pydata/xarray/issues/6566 1124163546 IC_kwDOAMm_X85DAV_a 35968931 2022-05-11T18:37:24Z 2022-05-11T18:37:24Z MEMBER

For some reason counting the number of tasks in the dask graph via len(ds.__dask_graph__()) raises an Error on Windows. ```

      assert num_graph_nodes(inlined) < num_graph_nodes(not_inlined)

... os.unlink(fullname) E PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\RUNNER~1\AppData\Local\Temp\tmpnmm87jlx\temp-415.nc' ```

I only need to do this in the test, so unless someone knows a more robust way to check the number of tasks in the task graph, I'll just add a skipif windows to the test.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1223270563
Powered by Datasette · Queries took 53.935ms · About: xarray-datasette