You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks, @fjclark. I was just typing the same thing and you beat me to it. Just to say that you can also enable verbose errors per script by adding BSS.setVerbose(True) at the start. By default, we only print summary messages due to inconsistencies in formatting and verbosity by the underlying engines.
I'll move this over to the Sire issue since it's ultimately an issue related to the SDF parser. I think that we should just parse the value of 3 since this would only (really) be used if we were to convert the molecule to another format, e.g. RDKit. If we were to just ignore or set to zero then we wouldn't guarantee round-trip self-consistency, i.e. converting from Sire to RDKit and back again.
Just to note that we are mostly away on holidays now. I'll pick this up again when I'm back in the New Year.
Cheers.
lohedges
changed the title
OSError: Failed to read molecules from: ['ligand.sdf']
Sire::IO::SDF can't handle a stereo value of 3
Dec 19, 2024
Hello!
I am just starting to work with BioSimSpace and got a problem with reading one of my SDF files.
I run the simplest code:
I consistently get the following error:
While when I try to read a benzene sdf file (which was obtained the same way as the ligand.sdf, RDKit version 2024.03.2) everything works just fine.
I have attached my input files: ligand.sdf (where the error occurs) and ligand_benzene.sdf (works fine).
ligands.zip
OS: Rocky Linux 8.9 (Green Obsidian)
Version of Python: 3.12.8
Version of BioSimSpace: 2024.4.0.dev+34.g357beaf2
Could you help me please?
Thank you!
The text was updated successfully, but these errors were encountered: