Skip to content

openbabel processing error with crossdocked data #52

@SanazKaz

Description

@SanazKaz

Hi all,

Currently trying to pre-process the data using process_crossdocked.py.

i receive this #failed: 89: 100%|██████████| 100000/100000 [29:33<00:00, 56.39it/s]

i have 2 questions -

  1. is it expected to have 89 failed files? I thought all 100,000 should pass fine.

  2. While it is processing files for training i received this error below

  • There are actually quite a few openbabel warnings as the files are being processed.

*** Open Babel Warning in PerceiveBondOrders
Failed to kekulize aromatic bonds in OBMol::PerceiveBondOrders (title is /tmp/tmpn058zqxm)

[16:10:15] Unexpected error hit on line 60
[16:10:15] ERROR: moving to the beginning of the next molecule

7352/7365 successful: 7%|▋ | 7365/99911 [00:20<04:11, 368.12it/s]
Traceback (most recent call last):
File "/data/stat-cadd/wolf7055/diffsbdd-ppo/process_crossdock.py", line 422, in
train_smiles = compute_smiles(lig_coords, lig_one_hot, lig_mask)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/stat-cadd/wolf7055/diffsbdd-ppo/process_crossdock.py", line 138, in compute_smiles
mol = build_molecule(pos, atom_type, dataset_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/stat-cadd/wolf7055/diffsbdd-ppo/analysis/molecule_builder.py", line 154, in build_molecule
mol = make_mol_openbabel(positions, atom_types,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/stat-cadd/wolf7055/diffsbdd-ppo/analysis/molecule_builder.py", line 90, in make_mol_openbabel
for atom in tmp_mol.GetAtoms():
^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'GetAtoms'


Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions