Applying distance constraints to ligand and Mg ion

Hi Josh.

I am also facing a similar situation.
My only confusion is that how you named the Mg and O of ligand as a_10908 and a_10900 respectively?
It seems that you have your gro file to have chain a to be already defined, which I do not have in my case.

FYI, I am attaching the link to my question in the grosmcs mailing forum: