CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-rdkit

Platform wheels for RDKit - a comprehensive cheminformatics and machine-learning library with Python bindings

89

1.01x
Overview
Eval results
Files

task.mdevals/scenario-2/

Molecular Hydrogen Manager

A utility for managing hydrogen representation in molecular structures for chemical data processing pipelines.

Capabilities

Explicit Hydrogen Addition

  • Given a molecular structure without explicit hydrogens, the tool adds all explicit hydrogens to the molecule. @test
  • The function correctly handles aromatic compounds when adding hydrogens. @test

Hydrogen Removal

  • Given a molecular structure with explicit hydrogens, the tool removes all explicit hydrogens from the molecule. @test
  • The function preserves chiral centers when removing hydrogens. @test

Implementation

@generates

API

def add_explicit_hydrogens(mol):
    """
    Adds explicit hydrogens to a molecule object.

    Args:
        mol: A molecule object

    Returns:
        A new molecule object with explicit hydrogens added
    """
    pass

def remove_explicit_hydrogens(mol):
    """
    Removes explicit hydrogens from a molecule object.

    Args:
        mol: A molecule object with explicit hydrogens

    Returns:
        A new molecule object with explicit hydrogens removed
    """
    pass

Dependencies { .dependencies }

rdkit { .dependency }

Provides cheminformatics support for molecular manipulation.

Install with Tessl CLI

npx tessl i tessl/pypi-rdkit

tile.json