aertslab / arboreto

A scalable python-based framework for gene regulatory network inference using tree-based ensemble regressors.
BSD 3-Clause "New" or "Revised" License
54 stars 25 forks source link

dask bugfix #39

Closed gennadyFauna closed 7 months ago

gennadyFauna commented 8 months ago

all_meta_df creation is broken as of two weeks ago because of a dask update (from_delayed throws an error when the input is the empty list []). This breaks basic functionality because diy assumes create_graph has include_meta=False in the input and output, but create_graph only works when include_meta=True.

I moved the all_meta_df creation a few lines down, after an include_meta check.

See https://github.com/aertslab/arboreto/issues/38 for details.