Skip to content

Commit 733bee3

Browse files
fixed resl computation
1 parent be9ef96 commit 733bee3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

GMXMMPBSA/API.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
import os
4242
from types import SimpleNamespace
4343

44-
from GMXMMPBSA.utils import emapping, flatten
44+
from GMXMMPBSA.utils import emapping, flatten, mask2list
4545

4646

4747
def _remove_empty_charts(data):
@@ -867,6 +867,7 @@ def _get_namespace(app, tfile):
867867
output_file = app.output_file
868868
decomp_output_file = app.decomp_output_file if app.INPUT['decomprun'] else None
869869
size = app.size
870+
app.resl = mask2list(app.FILES.complex_fixed, app.INPUT['receptor_mask'], app.INPUT['ligand_mask'])
870871

871872
INFO = {'COM_PDB': com_pdb,
872873
'input_file': input_file,

0 commit comments

Comments
 (0)