Skip to content

Issue on page /recipes/opsin.html #13

Description

@jcuadros

Step 4, "Extract the formula of the substance", may be incorrect when the InChI includes a /p sublayer or when the InChI includes disconnected species (see examples below). It might be worth adding a comment stating this works for neutral covalent chemical species.

Citrate, https://pubchem.ncbi.nlm.nih.gov/compound/31348
InChI=1S/C6H8O7/c7-3(8)1-6(13,5(11)12)2-4(9)10/h13H,1-2H2,(H,7,8)(H,9,10)(H,11,12)/p-3

Ethylammonium nitrate, https://pubchem.ncbi.nlm.nih.gov/compound/6432248
InChI=1S/C2H7N.NO3/c1-2-3;2-1(3)4/h2-3H2,1H3;/q;-1/p+1

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions