Challenge: RDKit Molecule Parsing
Taak
Swipe to start coding
Write a Python function using RDKit that takes a list of SMILES strings and returns a list of molecular weights.
- Parse each SMILES string in the input list to generate a molecule object.
- For each valid molecule object, calculate its molecular weight.
- For any SMILES string that cannot be parsed, return
Nonein the corresponding output position. - Return a list of molecular weights (or
Nonewhere parsing failed).
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 4
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Geweldig!
Completion tarief verbeterd naar 6.25
Challenge: RDKit Molecule Parsing
Veeg om het menu te tonen
Taak
Swipe to start coding
Write a Python function using RDKit that takes a list of SMILES strings and returns a list of molecular weights.
- Parse each SMILES string in the input list to generate a molecule object.
- For each valid molecule object, calculate its molecular weight.
- For any SMILES string that cannot be parsed, return
Nonein the corresponding output position. - Return a list of molecular weights (or
Nonewhere parsing failed).
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 4
single