Skip to content

Commit

Permalink
deploy: a7da39a
Browse files Browse the repository at this point in the history
  • Loading branch information
TorecLuik committed Jan 29, 2025
1 parent 010c672 commit 2bcf43a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _modules/biomero/slurm_client.html
Original file line number Diff line number Diff line change
Expand Up @@ -989,9 +989,9 @@ <h1>Source code for biomero.slurm_client</h1><div class="highlight"><pre>
<span class="c1"># Load the configuration file</span>
<span class="n">configs</span> <span class="o">=</span> <span class="n">configparser</span><span class="o">.</span><span class="n">ConfigParser</span><span class="p">(</span><span class="n">allow_no_value</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>
<span class="c1"># Loads from default locations and given location, missing files are ok</span>
<span class="n">configs</span><span class="o">.</span><span class="n">read</span><span class="p">([</span><span class="bp">cls</span><span class="o">.</span><span class="n">_DEFAULT_CONFIG_PATH_1</span><span class="p">,</span>
<span class="bp">cls</span><span class="o">.</span><span class="n">_DEFAULT_CONFIG_PATH_2</span><span class="p">,</span>
<span class="n">configfile</span><span class="p">])</span>
<span class="n">configs</span><span class="o">.</span><span class="n">read</span><span class="p">([</span><span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">expanduser</span><span class="p">(</span><span class="bp">cls</span><span class="o">.</span><span class="n">_DEFAULT_CONFIG_PATH_1</span><span class="p">),</span>
<span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">expanduser</span><span class="p">(</span><span class="bp">cls</span><span class="o">.</span><span class="n">_DEFAULT_CONFIG_PATH_2</span><span class="p">),</span>
<span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">expanduser</span><span class="p">(</span><span class="n">configfile</span><span class="p">)])</span>

<span class="c1"># Read the required parameters from the configuration file,</span>
<span class="c1"># fallback to defaults</span>
Expand Down

0 comments on commit 2bcf43a

Please sign in to comment.