Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Jul 4, 2024
1 parent 06936b2 commit a71b7bb
Show file tree
Hide file tree
Showing 6 changed files with 149 additions and 149 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f78dddcd
daed3880
4 changes: 2 additions & 2 deletions docs/explanation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ <h3 class="anchored" data-anchor-id="inspecting-gtfs">Inspecting GTFS</h3>
<h3 class="anchored" data-anchor-id="validating-gtfs">Validating GTFS</h3>
<p>When working with GTFS from a range of sources, it is important to understand whether the feed you intend to use is compliant. Online tools like that available on the French government’s <a href="https://transport.data.gouv.fr/validation">Transport Data Portal</a> are excellent choices for manual validation of a small number of feeds.</p>
<p><code>assess-gtfs</code> produces tabular outputs for specification warnings and errors using <a href="https://github.com/mrcagney/gtfs_kit"><code>gtfs_kit</code></a> under the hood. Note that not all of these errors are as severe as they initially appear. For example, the below validation table is commonly seen when validating British GTFS:</p>
<div id="78e0f31a" class="cell" data-execution_count="1">
<div id="cd3b08b0" class="cell" data-execution_count="1">
<div class="cell-output cell-output-display" data-execution_count="1">
<div>

Expand Down Expand Up @@ -340,7 +340,7 @@ <h3 class="anchored" data-anchor-id="validating-gtfs">Validating GTFS</h3>
</div>
</div>
<p>The first row in the validity table shows an apparent error, reporting “Invalid route_type; maybe has extra space characters”. Examining the routes table for the affected rows:</p>
<div id="9c5592ba" class="cell" data-execution_count="2">
<div id="9bcb5f62" class="cell" data-execution_count="2">
<div class="cell-output cell-output-display" data-execution_count="2">
<pre><code>0 3
1 200
Expand Down
4 changes: 2 additions & 2 deletions docs/getting_started/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ <h3 class="anchored" data-anchor-id="installation">Installation</h3>
<div class="sourceCode" id="cb3"><pre class="sourceCode abc code-with-copy"><code class="sourceCode abc"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a>pip install assess-gtfs</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<p>To use <code>assess-gtfs</code>, you will need a source of GTFS data. To locate your own, follow the how-to on <a href="../../docs/how_to/index.html">GTFS data</a>.</p>
<p>Alternatively, you can use the small GTFS fixture that is bundled with the <code>assess_gtfs</code> package.</p>
<div id="f5b14637" class="cell" data-execution_count="1">
<div id="74641aa3" class="cell" data-execution_count="1">
<div class="sourceCode cell-code" id="cb4"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> glob</span>
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> os</span>
<span id="cb4-3"><a href="#cb4-3" aria-hidden="true" tabindex="-1"></a></span>
Expand All @@ -239,7 +239,7 @@ <h3 class="anchored" data-anchor-id="installation">Installation</h3>
<span id="cb4-8"><a href="#cb4-8" aria-hidden="true" tabindex="-1"></a>gtfs <span class="op">=</span> MultiGtfsInstance(glob.glob(gtfs_pth <span class="op">+</span> <span class="st">"/*.zip"</span>))</span>
<span id="cb4-9"><a href="#cb4-9" aria-hidden="true" tabindex="-1"></a>gtfs.is_valid()</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stderr">
<pre><code> 0%| | 0/1 [00:00&lt;?, ?it/s]Validating GTFS from path /opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/assess_gtfs/data/newport-20230613_gtfs.zip: 0%| | 0/1 [00:00&lt;?, ?it/s]Validating GTFS from path /opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/assess_gtfs/data/newport-20230613_gtfs.zip: 100%|██████████| 1/1 [00:00&lt;00:00, 7.06it/s]Validating GTFS from path /opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/assess_gtfs/data/newport-20230613_gtfs.zip: 100%|██████████| 1/1 [00:00&lt;00:00, 7.03it/s]</code></pre>
<pre><code> 0%| | 0/1 [00:00&lt;?, ?it/s]Validating GTFS from path /opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/assess_gtfs/data/newport-20230613_gtfs.zip: 0%| | 0/1 [00:00&lt;?, ?it/s]Validating GTFS from path /opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/assess_gtfs/data/newport-20230613_gtfs.zip: 100%|██████████| 1/1 [00:00&lt;00:00, 6.81it/s]Validating GTFS from path /opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/assess_gtfs/data/newport-20230613_gtfs.zip: 100%|██████████| 1/1 [00:00&lt;00:00, 6.78it/s]</code></pre>
</div>
<div class="cell-output cell-output-display" data-execution_count="1">
<div>
Expand Down
Loading

0 comments on commit a71b7bb

Please sign in to comment.