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
My name is Joaquim Jornet-Somoza (quim), postdoctoral researcher on theoretical and computational chemistry.
I have a set of xyz files (in fact, one file with concatenated xyz blocks), that I would like to pass to RD-Kit as mol.
I looked to your code and I found it interesting for my purpose.
Howevere, when I tryed the test examples it fails for the acetate xyz file (not for the ethane.xyz) saying:
$python xyz2mol.py acetate.xyz
Traceback (most recent call last):
File "xyz2mol.py", line 362, in
mol = xyz2mol(atomicNumList,charge,xyz_coordinates,charged_fragments)
File "xyz2mol.py", line 346, in xyz2mol
new_mol = AC2mol(mol,AC,atomicNumList,charge,charged_fragments)
File "xyz2mol.py", line 251, in AC2mol
mol = BO2mol(mol,BO, atomicNumList,atomic_valence_electrons,charge,charged_fragments)
File "xyz2mol.py", line 141, in BO2mol
mol = set_atomic_charges(mol,atomicNumList,atomic_valence_electrons,BO_valences,BO_matrix,mol_charge)
File "xyz2mol.py", line 163, in set_atomic_charges
a.SetFormalCharge(charge)
Boost.Python.ArgumentError: Python argument types in
Atom.SetFormalCharge(Atom, numpy.int64)
did not match C++ signature:
SetFormalCharge(RDKit::Atom {lvalue}, int)
Could you tell me where does this errors come from ?
Sincerely
quim
The text was updated successfully, but these errors were encountered:
Dear Developer,
My name is Joaquim Jornet-Somoza (quim), postdoctoral researcher on theoretical and computational chemistry.
I have a set of xyz files (in fact, one file with concatenated xyz blocks), that I would like to pass to RD-Kit as mol.
I looked to your code and I found it interesting for my purpose.
Howevere, when I tryed the test examples it fails for the acetate xyz file (not for the ethane.xyz) saying:
Could you tell me where does this errors come from ?
Sincerely
quim
The text was updated successfully, but these errors were encountered: