Challenge: RDKit Molecule Parsing
Tehtävä
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).
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 4
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Mahtavaa!
Completion arvosana parantunut arvoon 6.25
Challenge: RDKit Molecule Parsing
Pyyhkäise näyttääksesi valikon
Tehtävä
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).
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 4
single