Discngine/fpocket

pytest shows many errors (macOS ARM64)

Opened this issue · 0 comments

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.