Valdes-Tresanco-MS / gmx_MMPBSA

gmx_MMPBSA is a new tool based on AMBER's MMPBSA.py aiming to perform end-state free energy calculations with GROMACS files.
https://valdes-tresanco-ms.github.io/gmx_MMPBSA/
GNU General Public License v3.0
229 stars 66 forks source link

[Bug-gmx_MMPBSA_ana]:KeyError : "delta" #516

Open Arikite-netizen opened 4 months ago

Arikite-netizen commented 4 months ago

Bug summary

gmx_MMPBSA_ana crashes just after loading the data for analysis. I have tried multiple times, but each time the same error occurs for the same system. However, this error doesn't occur for any other system. Could you please help me understand why is this system not been read by the gmx_MMPBSA_ana package

Terminal output

multiprocessing.pool.RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/home/nfb/miniconda3/envs/gmxMMPBSA/lib/python3.10/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/home/nfb/miniconda3/envs/gmxMMPBSA/lib/python3.10/site-packages/GMXMMPBSA/analyzer/dialogs.py", line 605, in run_process
    obj = obj_method(**v['args']) if v['args'] else obj_method()
  File "/home/nfb/miniconda3/envs/gmxMMPBSA/lib/python3.10/site-packages/GMXMMPBSA/API.py", line 850, in get_ana_data
    dict(data=decomp[level][level1][level2][level3], level=item_lvl,
  File "/home/nfb/miniconda3/envs/gmxMMPBSA/lib/python3.10/site-packages/pandas/core/frame.py", line 4102, in __getitem__
    indexer = self.columns.get_loc(key)
  File "/home/nfb/miniconda3/envs/gmxMMPBSA/lib/python3.10/site-packages/pandas/core/indexes/range.py", line 417, in get_loc
    raise KeyError(key)
KeyError: 'delta'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/nfb/miniconda3/envs/gmxMMPBSA/lib/python3.10/site-packages/GMXMMPBSA/analyzer/dialogs.py", line 618, in run
    for result in imap_unordered_it:
  File "/home/nfb/miniconda3/envs/gmxMMPBSA/lib/python3.10/multiprocessing/pool.py", line 873, in next
    raise value
KeyError: 'delta'
Aborted (core dumped)

Actual outcome

Gmx_MMPBSA_ana crashes immediately after reading the files by clicking on the Accept button

Expected outcome

To be able to open the analysis and navigate through the plots from the trajectories

Additional information

Methods such as gb and decomp were used. One noticeable condition I noticed is a exceptionally low binding energy about -0.37 kcal/mol.

Operating system

Ubuntu 22 LTS

gmx_MMPBSA_ana Version

gmx_MMPBSA_ana v1.6.3

Python version

3.10

Installation

AmberTools compilation + conda

meowstudy commented 2 months ago

Same problem, have you solved the problem?