ncats / molvec

A feeble attempt at molecular recognition (in the literal sense)
https://molvec.ncats.io
GNU Lesser General Public License v2.1
59 stars 22 forks source link

-parallel usage in command line interface yielding unexpected results #22

Open barindermatharu opened 2 years ago

barindermatharu commented 2 years ago

Whenever I run the command molvec -dir path -parallel n with n > 1, I get output which resembles the following in the MOL files for each of the images in the path: gov.nih.ncats.molvec.MolvecOptions$Result@7523478

However, when n = 1 (or if I omit -parallel entirely), I get the results which were expected. Any ideas why this is happening?

dkatzel-ncats commented 2 years ago

sorry for the delay I will take a look. Is this the the latest from github or the most recent release from maven? and are you doing sdf output or individual files? thanks

dan2097 commented 2 years ago

@dkatzel-ncats My colleague ran into this issue. I've added pull request #23 which I believe resolves this issue.

The issue was reproducible on the latest version from GitHub, when producing individual files.