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

pytest shows many errors (macOS ARM64) #158

Open
isolated-matrix opened this issue Oct 7, 2024 · 0 comments
Open

pytest shows many errors (macOS ARM64) #158

isolated-matrix opened this issue Oct 7, 2024 · 0 comments

Comments

@isolated-matrix
Copy link

Describe the bug
I tried to install fpocket. Unfortunately, the pytest report was not encouraging. The summary reads:

================================================== test session starts ==================================================
platform darwin -- Python 3.12.7, pytest-8.3.2, pluggy-1.5.0
rootdir: /Users/***/git_repos/fpocket
plugins: hypothesis-6.112.0
collected 11 items                                                                                                      

tests/test_fpocket.py F...FFF                                                                                     [ 63%]
tests/test_mmcif.py FFFF                                                                                          [100%]

================================================ short test summary info ================================================
FAILED tests/test_fpocket.py::test_pdb_list_equal - AssertionError: assert False
FAILED tests/test_fpocket.py::test_drop_chain - AssertionError: assert False
FAILED tests/test_fpocket.py::test_explicit_pocket_detection - assert 19 == 15
FAILED tests/test_fpocket.py::test_chain_as_ligand - assert 120 == 118
FAILED tests/test_mmcif.py::test_pdb_list_mmcif_equal - AssertionError: assert False
FAILED tests/test_mmcif.py::test_pdb_list_mmcif_both - AssertionError: assert False
FAILED tests/test_mmcif.py::test_pdb_list_mmcif_plus_db - assert 89 == 85
FAILED tests/test_mmcif.py::test_mmcif_ligand - assert 19 == 15
============================================= 8 failed, 3 passed in 30.45s ==============================================

I'm not quite sure what these errors refer to, or how to fix them. I followed the installation instructions and compiled via the make ARCH=MACOSXARM64 and sudo make install commands.

Desktop (please complete the following information):

  • OS: macOS 15.0.1
  • Browser: Safari

Additional context
There was a warning during the initial stage of the installation which might be related... In the output generated following the make ARCH=MACOSXARM64 command, a 'warning' popped up saying:

src/mdpocket.c:49:30: warning: unused parameter 'v' [-Wunused-parameter]
   49 | static int register_cb(void *v, vmdplugin_t *p) {
      |                              ^
1 warning generated.

I'm not sure if it's related though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant