span class="bp">self</span><span class="o">.</span><span class="n">labelsDF</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span><span class="p">:</span>
            <span class="k">try</span><span class="p">:</span>
                <span class="bp">self</span><span class="o">.</span><span class="n">labelsDF</span><span class="o">.</span><span class="n">to_csv</span><span class="p">(</span><span class="n">outputFileLabels</span><span class="p">,</span> <span class="n">in