MolVS icon indicating copy to clipboard operation
MolVS copied to clipboard

Only one molecule from the input SMILES file is processed...

Open UnixJunkie opened this issue 7 years ago • 7 comments

Hello,

molvs standardize -i smi input.smi  -o smi -O output.smi

The input file has several molecules, the output a single one. Is this the expected behavior?

UnixJunkie avatar Nov 12 '18 05:11 UnixJunkie

I installed via pip.

pip install molvs

UnixJunkie avatar Nov 12 '18 05:11 UnixJunkie

this is probably the file that needs a fix: https://github.com/mcs07/MolVS/blob/master/molvs/cli.py

UnixJunkie avatar Feb 05 '19 07:02 UnixJunkie

Yes that seems to be the case. Also it looks like SDF files will only process the first molecule.

mcs07 avatar Feb 05 '19 10:02 mcs07

also, output to sdf file is not supported (it creates a mol file instead)

UnixJunkie avatar Feb 06 '19 01:02 UnixJunkie

I'll send a patch for some of these.

UnixJunkie avatar Feb 06 '19 01:02 UnixJunkie

Hi, I am having the same issue with an SDF file. Wondering if there's a fix? Thanks

sgujjaABM avatar May 11 '21 02:05 sgujjaABM

I sent a PR with a fix. Use the molVS that is inside of rdkit, then you should be good to go.

UnixJunkie avatar May 11 '21 04:05 UnixJunkie