Commit ca8668a
Regenerate community HTML and UMAP (#71)
* Regenerate community HTML and UMAP
Refresh docs/ to reflect community additions and evidence updates
since the last regen (PR #54). UMAP grows from 252 -> 261 embedded
communities; 7 existing community pages are refreshed with the
evidence additions from PRs #55, #58, #60, #61, #62, #63, #66, #67;
9 new community pages are added (2 from this session: Alaska Tundra
Permafrost Iron-Redox and Saccharomyces-Acinetobacter Lignocellulose
Detox; 7 from other curation work merged in between).
- gen-html: 264 community pages rendered without error
- gen-umap: 261 communities embedded (3 host-only skipped because
none of their taxa have NCBITaxon embeddings)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Address Copilot review on PR #71: render evidence everywhere it lives
Three template/data fixes triggered by the Copilot review on the
HTML/UMAP regen:
- src/communitymech/templates/community.html:
- Extend the interaction-network color map and legend with
PREDATION, NICHE_PARTITIONING, STRAIN_COMPETITION, and
COLONIZATION_FACILITATION. Previously these enum values fell
back to generic gray on the force-directed graph and were
omitted from the legend, making 5+ community pages
(Cellulomonas-Rhodobacter, Sphingobium-Rhodococcus,
Clostridium-Carboxidivorans-Kluyveri, Rhodopseudomonas-
Geobacter-Magnetite, plus any others) hard to read.
- Render evidence on taxonomy entries via an "evidence-row"
span. The previous template only rendered evidence inside
ecological_interactions and growth_media, so evidence wired
onto taxon blocks in PRs like #61 and #62 was on-disk in the
YAML but invisible in the rendered HTML.
- Render evidence on environmental_factors with the same
expanding-row pattern. This is where PR #62 wired the
Ter Horst 2021 peat-virome evidence on the SPRUCE community;
it now appears in the HTML.
- Add an "External Resources" section (analogous to Associated
Datasets) that renders external_resources entries including
their per-resource evidence. This is where PR #66 wired the
Smith 2025 BioModels reproducibility paper on the Kefir
BioModels community; it now appears in the HTML.
- kb/communities/Alaska_Tundra_Permafrost_Iron_Redox_Community.yaml:
add `metals_present: [IRON]`, `metal_relevance: SIGNIFICANT`,
and metal_notes describing the Fe(III) reduction / Fe(II)
oxidation cycle this community is built around. The community
was previously absent from the iron/metal index filter despite
being entirely iron-centric.
- docs/: regenerate all 264 community pages with the new template
+ the Alaska_Tundra metals metadata. Many pages pick up the new
evidence-row block; the four pages with NICHE_PARTITIONING
interactions now render those nodes with the dedicated color
and include the new legend entries.
Verified after regen:
- SPRUCE community page now shows PMID:38515239 and PMID:34836550
(zero matches before, two each after).
- Kefir BioModels community page now shows PMID:41343683 (zero
matches before, two after).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 6f6255f commit ca8668a
268 files changed
Lines changed: 58410 additions & 771 deletions
File tree
- docs
- communities
- kb/communities
- src/communitymech/templates
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 339 additions & 2 deletions
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Lines changed: 121 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
435 | 466 | | |
436 | 467 | | |
437 | 468 | | |
| |||
454 | 485 | | |
455 | 486 | | |
456 | 487 | | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
457 | 519 | | |
458 | 520 | | |
459 | 521 | | |
| |||
490 | 552 | | |
491 | 553 | | |
492 | 554 | | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
493 | 567 | | |
494 | 568 | | |
495 | 569 | | |
| |||
666 | 740 | | |
667 | 741 | | |
668 | 742 | | |
| 743 | + | |
| 744 | + | |
669 | 745 | | |
670 | 746 | | |
671 | 747 | | |
| |||
684 | 760 | | |
685 | 761 | | |
686 | 762 | | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
687 | 783 | | |
688 | 784 | | |
689 | 785 | | |
690 | 786 | | |
691 | 787 | | |
692 | 788 | | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
693 | 809 | | |
694 | 810 | | |
695 | 811 | | |
| |||
714 | 830 | | |
715 | 831 | | |
716 | 832 | | |
717 | | - | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
718 | 838 | | |
719 | 839 | | |
720 | 840 | | |
| |||
0 commit comments