A cardiology-facing reference of major transcatheter valve-disease trials (aortic, mitral, tricuspid), generated as a static website from a single data file.
| File | Role |
|---|---|
trials.json |
The single source of truth — all trials live here. This is the only file you edit to change content. |
model.py |
The Trial data schema + the master list of categories and (in valve_trials.py) their colors. |
data.py |
Loads trials.json into trial objects. |
valve_trials.py |
The generator. Run it to (re)build the HTML pages. |
trials_data.py |
Legacy Python data (no longer read; kept only as a backup). |
.github/workflows/deploy.yml |
Rebuilds and publishes the site to GitHub Pages on every push. |
Open editor.html (the ✎ Editor link in the site header). You can:
When you’re done, click ⬇ Export trials.json. Your browser downloads an updated
trials.json. Replace the trials.json in the repository with that file and commit it
(drag-and-drop works in GitHub’s web UI). The Action rebuilds the live site automatically.
trials.json directly on GitHubOpen trials.json in GitHub, click the pencil ✏️, edit, and commit. Same auto-rebuild.
python valve_trials.py # builds index/aortic/mitral/tricuspid/editor into ./
python valve_trials.py site # builds into ./site (what CI does)
No dependencies — standard-library Python 3 only.
.github/workflows/).main. The workflow builds and publishes; the live URL appears in the
Actions run and under Settings → Pages.That’s it — after setup, editing trials.json (via the Editor or directly) and committing
is all it takes for the site to update.
trials.json
(toggle via EXCLUDE_SIGNALS in valve_trials.py).