Closed avnikonenko closed 2 years ago
Hi,
You should pass the RDKit molecule to preparator.prepare()
instead of passing the OpenBabel Molecule. In your script, delete the following lines:
molecule_sdf = Chem.MolToMolBlock(mol)
mol = obutils.load_molecule_from_string(molecule_sdf, molecule_format='SDF')
mol.AddHydrogens()
charge_model = ob.OBChargeModel.FindType("Gasteiger")
charge_model.ComputeCharges(mol)
The reason is that Meeko is now using RDKit instead of OpenBabel. However, we still kept OpenBabel around and in case we want to go back to it, but there's one function that we didn't implement yet in the OpenBabel side of the code, hence the NotImplementedError.
Best regards,
Thank you!
Dear authors, I tried to convert molecule from smiles to pdbqt format, but the new version of Meeko returns error (old version worked correctly) - File "site-packages/meeko/setup.py", line 698, in get_equivalent_atoms raise NotImplementedError NotImplementedError version of the packages: numpy 1.20.3 scipy 1.6.2 rdkit 2021.03.5 meeko 0.3.0 code:
Could you help me please? Thank you!