Skip to content

Commit

Permalink
add software versions to exchange checker
Browse files Browse the repository at this point in the history
  • Loading branch information
DocOtak committed Jul 26, 2023
1 parent 6d737b5 commit 7e7adc3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/_static/exchange_chcker.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
<script defer src="https://pyscript.net/latest/pyscript.js"></script>
</head>
<body>
<p>
cchdo.hydro version: <span id="hydro_version"></span><br />
cchdo.params version: <span id="params_version"></span>
</p>
<p>
<label>Add an exchange file (csv or zip) <input type="file" id="ex_file" name="ex_file"></label>
<div>Note that processing a CTD file can take a long time and I don't yet know how to show progress in the browser.</div>
Expand All @@ -22,6 +26,12 @@

from cchdo.hydro import read_exchange
from cchdo.hydro import accessors

from cchdo.hydro import __version__ as hydro_version
from cchdo.params._version import version as params_version

Element("hydro_version").element.innerText = hydro_version
Element("params_version").element.innerText = params_version

import logging
import sys
Expand Down

0 comments on commit 7e7adc3

Please sign in to comment.