> Thank you for the speedy replies. I attached an example 2D SDF file.
Well, you can verify for yourself that 3D generation works, e.g.:
% obabel ~/Desktop/CHEMBL100358.sdf --gen3d -O CHEMBL.sdf
# waiting.. .. ..
% cat CHEMBL.sdf
It works fine from the command-line.
Hope that helps,
-Geoff
-
Geoff and Noel,
Thank you for the speedy replies. I attached an example 2D SDF file.
Wallace
On Fri, Nov 22, 2013 at 4:28 PM, Geoffrey Hutchison <
geoff.hutchi...@gmail.com> wrote:
> > my $filename = $id . '.sdf';
> > open (OUT, ">temp.sdf");
> >
> my $filename = $id . '.sdf';
> open (OUT, ">temp.sdf");
> print OUT @sdfdata;
> close OUT;
> $obConversion->ReadFile($obMol, "temp.sdf”);
This just seems weird. Even if you have a bunch of data, you don’t need to sa
Hi Wallace,
I'm not much good with Perl, but for those folks who are, could you
provide a complete Perl script that reproduces the problem. The
smaller the script the better. For example, at the moment I can easily
blame everything on what everything is in @sdfdata. Also please note
that ReadFile
Dear All,
Once again, I apologize for my utter lack of experience, but I was hoping
y'all could help me out with a problem I've been having. Using OpenBabel in
Perl, I have been trying to convert several 2D SDF files to 3D. The process
appears to be stuck somewhere between the 'Do' and 'WriteFile'