an> <span class="n">SpacegroupAnalyzer</span><span class="p">(</span><span class="n">structure</span><span class="p">)</span><span class="o">.</span> \
            <span class="n">get_conventional_standard_structure</span><span class="p">()</span>

    <span class="k">if</span> <span class="ow">not</span> <span class="n">bonds</span><span class="p">:</span>
        <span class="n">bonds</span> <span class="o">=</span> <span class="n">get_max_bond_lengths</span><span class="p">(</span><span class="n">structu