openproblems-bio / openproblems-v2

Formalizing and benchmarking open problems in single-cell genomics
MIT License
53 stars 19 forks source link

[bat_int] Lisi indices file not found on nf-tower #237

Open KaiWaldrant opened 11 months ago

KaiWaldrant commented 11 months ago

Describe the bug On the nf-tower run the lisi component gives following error:

Traceback (most recent call last):
  File "/tmp/nxf.XxepoWYPjV/.viash_script.sh", line 40, in <module>
    ilisi_scores = lisi_graph_py(
  File "/usr/local/lib/python3.10/site-packages/scib/metrics/lisi.py", line 330, in lisi_graph_py
    simpson_estimate_batch = compute_simpson_index_graph(
  File "/usr/local/lib/python3.10/site-packages/scib/metrics/lisi.py", line 444, in compute_simpson_index_graph
    if os.stat(index_file).st_size == 0:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/lisi_pm06ey60/graph_lisi_indices_0.txt'
mumichae commented 10 months ago

I can't reproduce this locally with viash test. Can you show me the config of the LISI component?

rcannood commented 10 months ago

I think the config is not the issue here -- LISI seems to fail on outputs produced by the random_integration component, but not from other components.

I can give you an S3 path to an h5ad file which should be able to reproduce the issue, if you want

KaiWaldrant commented 8 months ago

@mumichae Could you document you findings on this issue.

KaiWaldrant commented 8 months ago

As discussed we will be disabling these components for now as these are not part of the migration