Skip to content

Commit

Permalink
Deploying to gh-pages from @ 15bf85c 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
hrshdhgd committed Feb 17, 2024
1 parent 9aaba0f commit ab12558
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ <h1>Source code for oaklib.converters.obo_graph_to_fhir_converter</h1><div class
<span class="sd">- Updates issue: https://github.com/INCATools/ontology-access-kit/issues/369</span>
<span class="sd">- Conversion examples: https://drive.google.com/drive/folders/1lwGQ63_fedfWlGlRemq8OeZhZsvIXN01</span>
<span class="sd">&quot;&quot;&quot;</span>

<span class="kn">import</span> <span class="nn">logging</span>
<span class="kn">from</span> <span class="nn">dataclasses</span> <span class="kn">import</span> <span class="n">dataclass</span>
<span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">Any</span><span class="p">,</span> <span class="n">Dict</span><span class="p">,</span> <span class="n">List</span><span class="p">,</span> <span class="n">Tuple</span><span class="p">,</span> <span class="n">Union</span>
Expand Down
6 changes: 3 additions & 3 deletions _modules/oaklib/implementations/ols/ols_implementation.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,9 @@ <h1>Source code for oaklib.implementations.ols.ols_implementation</h1><div class
<span class="s2">&quot;fieldList&quot;</span><span class="p">:</span> <span class="s2">&quot;iri,label&quot;</span><span class="p">,</span>
<span class="s2">&quot;rows&quot;</span><span class="p">:</span> <span class="n">config</span><span class="o">.</span><span class="n">limit</span> <span class="k">if</span> <span class="n">config</span><span class="o">.</span><span class="n">limit</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <span class="k">else</span> <span class="n">SEARCH_ROWS</span><span class="p">,</span>
<span class="s2">&quot;start&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;exact&quot;</span><span class="p">:</span> <span class="s2">&quot;true&quot;</span>
<span class="k">if</span> <span class="p">(</span><span class="n">config</span><span class="o">.</span><span class="n">is_complete</span> <span class="ow">is</span> <span class="kc">True</span> <span class="ow">or</span> <span class="n">config</span><span class="o">.</span><span class="n">is_partial</span> <span class="ow">is</span> <span class="kc">False</span><span class="p">)</span>
<span class="k">else</span> <span class="s2">&quot;false&quot;</span><span class="p">,</span>
<span class="s2">&quot;exact&quot;</span><span class="p">:</span> <span class="p">(</span>
<span class="s2">&quot;true&quot;</span> <span class="k">if</span> <span class="p">(</span><span class="n">config</span><span class="o">.</span><span class="n">is_complete</span> <span class="ow">is</span> <span class="kc">True</span> <span class="ow">or</span> <span class="n">config</span><span class="o">.</span><span class="n">is_partial</span> <span class="ow">is</span> <span class="kc">False</span><span class="p">)</span> <span class="k">else</span> <span class="s2">&quot;false&quot;</span>
<span class="p">),</span>
<span class="p">}</span>
<span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">query_fields</span><span class="p">)</span> <span class="o">&gt;</span> <span class="mi">0</span><span class="p">:</span>
<span class="n">params</span><span class="p">[</span><span class="s2">&quot;queryFields&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="s2">&quot;,&quot;</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">query_fields</span><span class="p">)</span>
Expand Down

0 comments on commit ab12558

Please sign in to comment.