      <span class="n">file</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">control_str</span><span class="p">)</span></div>

<div class="viewcode-block" id="Control.from_structure"><a class="viewcode-back" href="../../../pymatgen.io.shengbte.html#pymatgen.io.shengbte.Control.from_structure">[docs]</a>    <span class="nd">@classmethod</span>
    <span class="k">def</span> <span class="nf">from_structure</span><span class="p">(</span>
        <span class="bp">