@lists.sourceforge.net
Subject: Re: [Rdkit-discuss] 2D coord for hydrogens
Hi Mark,
further to Fio's reply, I think the confusion stems from the fact that when you
call AddHs() after MolFromSmiles() no coordinates are actually generated; these
are only generated on the fly for visualization
Hi Mark,
further to Fio's reply, I think the confusion stems from the fact that when
you call AddHs() after MolFromSmiles() no coordinates are actually
generated; these are only generated on the fly for visualization, and hence
are correct before and after AddHs(), as the layout is always generate
Hi Mark,
it's best to add the hydrogens first and then set your coordinates:
m=Chem.MolFromSmiles('Nc1nnc2n1CCS2')
m2=rdmolops.AddHs(m, False, True);
Chem.rdCoordGen.AddCoords(m2)
Best,
Fio
On Thu, Aug 27, 2020 at 11:25 AM Mark Mackey wrote:
> Hi all,
>
>
>
> I’m trying to generate a 2D layou
3 matches
Mail list logo