openproblems-v2 icon indicating copy to clipboard operation
openproblems-v2 copied to clipboard

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

Open KaiWaldrant opened this issue 2 years ago • 4 comments

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'

KaiWaldrant avatar Sep 28 '23 12:09 KaiWaldrant

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

mumichae avatar Oct 04 '23 12:10 mumichae

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

rcannood avatar Oct 04 '23 15:10 rcannood

@mumichae Could you document you findings on this issue.

KaiWaldrant avatar Nov 30 '23 20:11 KaiWaldrant

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

KaiWaldrant avatar Nov 30 '23 21:11 KaiWaldrant