harbor run -t openthoughts/tasktrove-exp-rpt-stack-dockerfile-gpt5mini-v3-stack-dockerfile-gpt4o-4600harbor download openthoughts/tasktrove-exp-rpt-stack-dockerfile-gpt5mini-v3-stack-dockerfile-gpt4o-4600Write a Python program and supporting files (placed under /app/) that process a small set of molecules and produce 2D/3D files and a summary report. Your solution must run with Python and use RDKit and the OpenBabel command-line tool (obabel) that are available in the environment. Place your program as /app/process_molecules.py and any sample input at /app/input.smi. All outputs must go into /app/out/.
Requirements
Input format:
Main program:
Must be runnable as: python3 /app/process_molecules.py --input /app/input.smi --outdir /app/out (accept the two arguments --input and --outdir)
For each valid SMILES line:
Produce a CSV report at /app/out/report.csv with header and one row per processed molecule. Columns (exact order): name, input_smiles, canonical_smiles, formula, mol_weight, logP, tpsa, h_bond_donors, h_bond_acceptors, rotatable_bonds, heavy_atoms, png_path, sdf_path, mol2_path, pdbqt_path
Error handling:
Directory and file creation:
Logging / verbosity:
Dependencies:
Expected behavior and deliverables (files to be placed in /app/)
Notes / hints
Your submission should be a ready-to-run solution in /app/ that satisfies the above.