s="n">neighbor</span><span class="p">)</span>

                    <span class="n">results</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">ring_group</span><span class="p">)</span>

        <span class="k">return</span> <span class="n">results</span></div>

<div class="viewcode-block" id="FunctionalGroupExtractor.get_all_functional_groups"><a class="viewcode-back" href="../../../pymatgen.analysis.functional_groups.html#pymatgen.analysis.functional_groups.Fu