Skip to content

Expected behavior for copy.deepcopy to remove explicit H's? #6328

Discussion options

You must be logged in to vote

Hi Greg,
I've resolved this. I didn't realize that SDMolSupplier() had additional arguments, let alone removeHs which defaults to True.
I had been comparing the input SDF to the post-copy structures, not the post-import structure to the post-copy structures.
When I use removeHs=False during import, the explicit H's stay put in both cloning methods.
Apologies for not being aware of that sooner.
Thanks for the help.
Best,
Andrew

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@someonetookmyname
Comment options

@someonetookmyname
Comment options

@someonetookmyname
Comment options

Answer selected by someonetookmyname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants