Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

matchms scores formatter numpy import issues #429

Closed
hechth opened this issue Oct 26, 2023 · 3 comments
Closed

matchms scores formatter numpy import issues #429

hechth opened this issue Oct 26, 2023 · 3 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@hechth
Copy link
Member

hechth commented Oct 26, 2023

Link to history: https://umsa.cerit-sc.cz/u/hechth/h/hbm-aplcms-qcs-lc-pos-ramclustr

Seems like some internal issues - maybe the bioconda recipe needs some pins and some newer version of numpy causes problems? Probably applying the same pins as in the poetry file of matchms in the bioconda recipe would make sense.

OpenBLAS blas_thread_init: pthread_create failed for thread 1 of 8: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 2 of 8: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 3 of 8: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 4 of 8: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 5 of 8: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 6 of 8: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 7 of 8: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
Traceback (most recent call last):
  File "/mnt/volume/shared/galaxy/var/shed_tools/toolshed.g2.bx.psu.edu/repos/recetox/matchms_formatter/1e58bf51a0e5/matchms_formatter/formatter.py", line 2, in <module>
    from matchms.importing import scores_from_json
  File "/usr/local/lib/python3.9/site-packages/matchms/__init__.py", line 1, in <module>
    from matchms.filtering.SpectrumProcessor import SpectrumProcessor
  File "/usr/local/lib/python3.9/site-packages/matchms/filtering/__init__.py", line 75, in <module>
    from .default_filters import default_filters
  File "/usr/local/lib/python3.9/site-packages/matchms/filtering/default_filters.py", line 1, in <module>
    from matchms.typing import SpectrumType
  File "/usr/local/lib/python3.9/site-packages/matchms/typing.py", line 2, in <module>
    import numpy as np
  File "/usr/local/lib/python3.9/site-packages/numpy/__init__.py", line 141, in <module>
    from . import core
  File "/usr/local/lib/python3.9/site-packages/numpy/core/__init__.py", line 23, in <module>
    from . import multiarray
  File "/usr/local/lib/python3.9/site-packages/numpy/core/multiarray.py", line 10, in <module>
    from . import overrides
  File "/usr/local/lib/python3.9/site-packages/numpy/core/overrides.py", line 6, in <module>
    from numpy.core._multiarray_umath import (
KeyboardInterrupt
@hechth hechth added the bug Something isn't working label Oct 26, 2023
@hechth hechth changed the title matchms scores formatter matchms scores formatter numpy import issues Oct 26, 2023
@hechth
Copy link
Member Author

hechth commented Nov 22, 2023

@zargham-ahmad I think this is solved?

@hechth
Copy link
Member Author

hechth commented Nov 27, 2023

this still persists in version 0.24.0 of the matchms galaxy tools - also, this doesn't seem to be happening on usegalaxy.eu

@bgruening maybe you have some idea what could be the reason this fails? Are you aware of some backwards compatibility issues with older Galaxy version?

@hechth
Copy link
Member Author

hechth commented Nov 27, 2023

Our assumption is that this is somehow related to pandas, numpy or scipy, but we have no absolute idea. One way would be to check out a different version of Galaxy, for example the one used at for UMSA.

@hechth hechth added the wontfix This will not be worked on label Jan 3, 2024
@hechth hechth closed this as not planned Won't fix, can't repro, duplicate, stale Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant