You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working with the develop branch of pmx and encountered an issue in the file pmx/src/pmx/ligand_alchemy.py, specifically within the method _get_ff_entry. The issue arises when handling topology files that contain only three columns, such as the example below:
In this method, there is a line of code: out = cp.deepcopy(b), and later, the code attempts to access out[3:][0]. This results in a problem because there are only three columns in the topology file, hence, accessing out[3:][0] does not exist and causes an error.
Could you please advise on how to modify the script to handle this scenario appropriately or consider updating the code to handle such cases in the develop branch?
Thank you for your assistance and looking forward to your guidance.
Best regards,
Jack Liu
The text was updated successfully, but these errors were encountered:
This function is used when constructing hybrid topologies. For that it is necessary to have parameters explicitly defined in the input topology files. In this case, bond length and force constant are missing
Dear Developer Team,
I am currently working with the develop branch of pmx and encountered an issue in the file pmx/src/pmx/ligand_alchemy.py, specifically within the method _get_ff_entry. The issue arises when handling topology files that contain only three columns, such as the example below:
In this method, there is a line of code: out = cp.deepcopy(b), and later, the code attempts to access out[3:][0]. This results in a problem because there are only three columns in the topology file, hence, accessing out[3:][0] does not exist and causes an error.
Could you please advise on how to modify the script to handle this scenario appropriately or consider updating the code to handle such cases in the develop branch?
Thank you for your assistance and looking forward to your guidance.
Best regards,
Jack Liu
The text was updated successfully, but these errors were encountered: