natverse / fafbseg

Support functions for analysis of Drosophila connectomes especially the FAFB-FlyWire whole brain
https://natverse.org/fafbseg/
GNU General Public License v3.0
6 stars 4 forks source link

flywire_latestid(,method = "cave") broken by caveclient updates #131

Closed jefferis closed 2 years ago

jefferis commented 2 years ago

See https://github.com/seung-lab/CAVEclient/commit/371781584e688696e90dc4a46ee4678c5441268f#r61010379

and https://github.com/natverse/fafbseg/runs/4346470122?check_suite_focus=true#step:15:291

══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-flywire.R:131:3): can get root ids ──────────────────────────────
<Rcpp::exception/C++Error/error/condition>
Error in `py_call_impl(x, dots$args, dots$keywords)`: TypeError: root_id has to be list or uint64

Detailed traceback:
  File "/Users/runner/Library/r-miniconda/envs/r-reticulate/lib/python3.8/site-packages/caveclient/chunkedgraph.py", line 548, in get_latest_roots
    lineage_graph = self.get_lineage_graph(
  File "/Users/runner/Library/r-miniconda/envs/r-reticulate/lib/python3.8/site-packages/caveclient/chunkedgraph.py", line 513, in get_lineage_graph
    raise TypeError("root_id has to be list or uint64")

Looks like I need to provide exactly one python int (a python list doesn't seem to work even with latest caveclient 4.6.1 at time of writing).