openpharmacophore.io.mol_files.read_sdf

openpharmacophore.io.mol_files.read_sdf(file_path, remove_hs=False)[source]

Load an sdf file with molecules that may contain multiple conformers.

Parameters:
  • file_path (str)

  • remove_hs (bool, default=False) – Whether to remove the hydrogens from the molecules.

Returns:

list

Return type:

[rdkit.Chem.Mol]