TALON icon indicating copy to clipboard operation
TALON copied to clipboard

numpy<1.24.0 should be added as a requirement

Open catsargent opened this issue 1 year ago • 0 comments

Hi there,

Just letting you know that I got the following error when running talon. Downgrading numpy to <1.24.0 fixed the issue and talon ran without any errors afterwards.

 File "/projects/b1177/pythonenvs/talon-env/lib/python3.9/site-packages/pyranges/multithreaded.py", line 382, in pyrange_apply_single
    result = call_f_single(function, nparams, df, **kwargs)
  File "/projects/b1177/pythonenvs/talon-env/lib/python3.9/site-packages/pyranges/multithreaded.py", line 31, in call_f_single
    return f.remote(df, **kwargs)
  File "/projects/b1177/pythonenvs/talon-env/lib/python3.9/site-packages/pyranges/methods/merge.py", line 16, in _merge
    starts, ends, number = find_clusters(cdf.Start.values, cdf.End.values, slack)
  File "sorted_nearest/src/clusters.pyx", line 11, in sorted_nearest.src.clusters.find_clusters
  File "/projects/b1177/pythonenvs/talon-env/lib/python3.9/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'long'

Many thanks! Catherine

catsargent avatar Jan 07 '23 10:01 catsargent