><span class="o">.</span><span class="n">Namelist</span><span class="p">({</span><span class="s2">&quot;crystal&quot;</span><span class="p">:</span> <span class="n">crystal_dict</span><span class="p">})</span>
        <span class="n">control_str</span> <span class="o">+=</span> <span class="nb">str</span><span class="p">(</span><span class="n">crystal_nml</span><span class="p">)</span> <span class="o">+</span> <span class="s2">&quot;</span><span class="se">\n</span><span class="s2">&quot;</span>

        <s