Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/refresh-doim-directory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ jobs:
}
uv run --locked doim-refresh ${{ steps.mode.outputs.args }}
uv run --locked doim-release-check --local-only
# Fellows/residents (config/trainees.toml) are searched in full every week, then
# Networks + is rebuilt on the refreshed faculty and trainee publications.
uv run --locked doim-trainee-publications --strict
uv run --locked doim-network-plus

- name: Propose the refreshed directory
if: steps.mode.outputs.skip != 'true'
Expand All @@ -108,8 +112,16 @@ jobs:
data/publications.json
data/publication-details.json
data/collaboration.json
data/trainee-publications.json
data/trainee-publication-details.json
data/network-plus.json
data/network-plus-nodes.csv
data/network-plus-edges.csv
data/rag/**
site/data/directory.json
site/data/publications.json
site/data/publication-details.json
site/data/collaboration.json
site/data/network-plus.json
site/data/network-plus-nodes.csv
site/data/network-plus-edges.csv
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,26 @@ normally only needed after running
limitations, and [`site/assets/vendor/VENDOR.md`](site/assets/vendor/VENDOR.md) for the one
third-party library the site loads (vendored locally, not from a CDN) to draw it.

## Fellows, residents, and Networks +

The Networks + view adds the program's fellows and residents, listed in
`config/trainees.toml`. Each is searched in PubMed like faculty, on their full author name at
a University of Utah affiliation, and the network is rebuilt from both sets of publications:

```bash
uv run --locked doim-trainee-publications --strict
uv run --locked doim-network-plus
```

The weekly directory refresh runs both. When the program sends a new roster spreadsheet,
regenerate the config (e-mail addresses are dropped; hand-added `also_known_as` names and
`pubmed_query` overrides of people still on the roster are kept). The next search drops the
publications of people no longer on it:

```bash
uv run --locked --extra trainees doim-trainee-roster "<roster>.xlsx"
```

## Configuration

`config/directory.toml` is the active source manifest. It lists the official
Expand Down
Loading
Loading