Closed mainguyenanhvu closed 1 year ago
I reformatted your code so it's a bit easier to read (triple quotes allow newlines!):
with open("mmpbsa.in", "w") as f:
f.write("""
&general
endframe=, interval=, strip_mask=:WAT:Na+:Cl-:Mg+:K+,
/
&gb
igb=, saltcon=,
/
""")
I think the problem here is that you are missing the values next to endframe
, interval
, igb
, saltcon
, etc. Ambertools expects a number (int
), but instead receives an empty string (""
), hence the conversion error.
That said, this is not an Ambertools support forum; we are only concerned with the packaging aspects of the project. For usage help, please refer to https://ambermd.org/Contact.php, where you will find the support mailing lists.
Comment:
Hi,
I am trying to calculate MMPBSA and MMGBSA by using Ambertools and OpenMM in Google colab from this notebook. The code below is what I run:
I create mmpbsa.in by using:
The error is:
My files here: MMGBSA_input.zip
Please help me to fix this error. Thank you very much,