="sd">        :return: list of sets of ints, representing groups of connected atoms</span>
<span class="sd">        &quot;&quot;&quot;</span>

        <span class="c1"># We will add hydrogens to functional groups</span>
        <span class="n">hydrogens</span> <span class="o">=</span> <span class="p">{</span><span class="n">n</span> <span class="k">for</span> <span class="n">n</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">molgraph</span><span class="o"