Re: [Open Babel] Fwd: obgrep doesn't work on .sdf

2013-08-08 Thread Pascal Muller
Hi, >>> Usually, I use obgrep (Open Babel 2.3.2) with smiles files, but today I > >>> tried with an sdf - and it doesn't work. There is no match, and no > error > >>> message (e.g. > >>> obgrep 'C' methane.sdf > >>> gives no output, as if there were no match. > Trying with a "_" in the molecule n

Re: [Open Babel] Fwd: obgrep doesn't work on .sdf

2013-06-11 Thread Noel O'Boyle
I don't know how obgrep works, but similar functionality in obabel works like this: C:\Users\noel>obabel methane.sdf -osmi -s "C" C Note that using single quotes fails (at least on Windows). - Noel On 11 June 2013 15:44, Pascal Muller wrote: > - Sorry, forgot to cc the list - > > > Hi, > > >>

[Open Babel] Fwd: obgrep doesn't work on .sdf

2013-06-11 Thread Pascal Muller
- Sorry, forgot to cc the list - Hi, > > >> Usually, I use obgrep (Open Babel 2.3.2) with smiles files, but today I >> tried with an sdf - and it doesn't work. There is no match, and no error >> message (e.g. >> obgrep 'C' methane.sdf >> gives no output, as if there were no match. Tried with