Automate FLoRA citation update from FReD-data#677
Open
LukasWallrich wants to merge 2 commits intomasterfrom
Open
Automate FLoRA citation update from FReD-data#677LukasWallrich wants to merge 2 commits intomasterfrom
LukasWallrich wants to merge 2 commits intomasterfrom
Conversation
- Extend update_fred_citation.py to replace {{flora-ref}} placeholder in
content/replication-hub/flora/_index.md with the HTML-formatted citation
- Add content/replication-hub/flora/_index.md (source file with placeholder)
- Update data-processing workflow to stage and commit the resolved _index.md
to the build-resources branch alongside fred_citation.txt
The citation update already ran weekly on Sundays; the new _index.md replacement
runs on the same schedule with no additional triggers needed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
|
👍 All image files/references (if any) are in webp format, in line with our policy. |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
📝 Spell Check ResultsFound 1 potential spelling issue(s) in this PR: 📄
|
| Line | Issue |
|---|---|
| 17 | Wit ==> With |
ℹ️ How to address these issues:
- Fix the typo: If it's a genuine typo, please correct it.
- Add to whitelist: If it's a valid word (e.g., a name, technical term), add it to
.codespell-ignore.txt - False positive: If this is a false positive, please report it in the PR comments.
🤖 This check was performed by codespell
Contributor
Author
|
@richarddushime could you pls check and merge? |
Contributor
Author
|
✅ Staging Deployment Status This PR has been successfully deployed to staging as part of an aggregated deployment. Deployed at: 2026-03-03 18:43:35 UTC The staging site shows the combined state of all compatible open PRs. |
|
|
||
| In FLoRA, years of work from a large community of volunteers culminate. If you would like to contribute to the project or use the data for your own research, we would strongly appreciate you reaching out to us. | ||
|
|
||
| ::: {.callout-note icon="false"} |
Contributor
There was a problem hiding this comment.
this syntax here does not work for markdown
use the below
{{< alert note >}}
{{flora-ref}}
* These authors contributed equally to this work.
{{< /alert >}}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/update_fred_citation.pyto replace the{{flora-ref}}placeholder incontent/replication-hub/flora/_index.mdwith the HTML-formatted citation fetched from FReD-datacontent/replication-hub/flora/_index.md(source file with the placeholder intact for master)_index.mdto thebuild-resourcesbranch alongsidefred_citation.txtThe citation update already ran weekly on Sundays (or on manual dispatch); this PR wires the replacement into that same step with no additional scheduling needed.
Test plan
python3 scripts/update_fred_citation.pylocally —{{flora-ref}}was correctly replaced in_index.mdwith the HTML-formatted citation including a linked DOIcontent/replication-hub/flora/_index.mdinbuild-resourcescontains the resolved citation🤖 Generated with Claude Code