Challenge: RDKit Molecule Parsing
Tâche
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).
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 4
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 6.25
Challenge: RDKit Molecule Parsing
Glissez pour afficher le menu
Tâche
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).
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 4
single