Skip to content

Commit

Permalink
Deploying to gh-pages from @ e2f67de 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
matentzn committed Dec 13, 2024
1 parent 204d9d6 commit 74fb1c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion _modules/sssom/parsers.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,11 @@ <h1>Source code for sssom.parsers</h1><div class="highlight"><pre>
<span class="k">if</span> <span class="n">header_section</span><span class="p">:</span>
<span class="n">header_section</span> <span class="o">=</span> <span class="kc">False</span>
<span class="k">elif</span> <span class="n">header_section</span><span class="p">:</span>
<span class="n">metadata_component</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">line</span><span class="p">)</span>
<span class="c1"># We strip any trailing tabs. Such tabs may have been left</span>
<span class="c1"># by a spreadsheet editor who treated the header lines as</span>
<span class="c1"># if they were normal data lines; they would prevent the</span>
<span class="c1"># YAML parser from correctly parsing the metadata block.</span>
<span class="n">metadata_component</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">line</span><span class="o">.</span><span class="n">rstrip</span><span class="p">(</span><span class="s2">&quot;</span><span class="se">\t\n</span><span class="s2">&quot;</span><span class="p">)</span> <span class="o">+</span> <span class="s2">&quot;</span><span class="se">\n</span><span class="s2">&quot;</span><span class="p">)</span>
<span class="k">else</span><span class="p">:</span>
<span class="n">logging</span><span class="o">.</span><span class="n">info</span><span class="p">(</span>
<span class="sa">f</span><span class="s2">&quot;Line </span><span class="si">{</span><span class="n">line</span><span class="si">}</span><span class="s2"> is starting with hash symbol, but header section is already passed. &quot;</span>
Expand Down
2 changes: 1 addition & 1 deletion cli_usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ <h3>convert<a class="headerlink" href="#sssom-convert" title="Link to this headi
<dd><p>Desired output format.</p>
<dl class="field-list simple">
<dt class="field-odd">Options<span class="colon">:</span></dt>
<dd class="field-odd"><p>tsv | owl | ontoportal_json | fhir_json | json | rdf | ttl | nt | xml | turtle</p>
<dd class="field-odd"><p>tsv | owl | ontoportal_json | fhir_json | json | rdf | turtle | nt | ttl | xml</p>
</dd>
</dl>
</dd></dl>
Expand Down

0 comments on commit 74fb1c5

Please sign in to comment.