"[CX4H3]"</code></pre><p>While the group name is entirely arbitrary, one must be very careful when defining the SMARTS as this is the information used by GCIdentifier (and MolecularGraph) to identify the groups. To learn more about SMARTS, one can consult:</p><ul><li><a href="https://www.daylight.com/dayhtml/doc/theory/theory.smarts.html">Guide to understanding the SMARTS nomenclature</a></li><li><a href="https://smarts.plus">Tool to visualise SMARTS</a></li></ul><p>Once the user is certain of their SMARTS representation and made the vector of <code>GCPair</code>s, then one can simply feed in this vector (<code>GroupList</code>) into <code>get_groups_from_smiles</code>:</p><pre><code class="language-julia hljs">julia> GroupList = [GCPair("[CX4H3]","CH3"),GCPair("[CX4H2]","CH2")]
0 commit comments