Skip to content

Validate ChemKED 0.5.0 files and skip unchanged renames in the PR check - #47

Merged
kyleniemeyer merged 2 commits into
pr-omethe-us:mainfrom
LekiaAnonim:ci/validate-with-pyked-fork
Nov 2, 2026
Merged

kyleniemeyer merged 2 commits into
pr-omethe-us:mainfrom
LekiaAnonim:ci/validate-with-pyked-fork

Conversation

@LekiaAnonim

Copy link
Copy Markdown
Collaborator

What this changes

The "PyKED Schema Validation" job of validate-contribution.yml fails on every ReSpecTh conversion in this repository, also when a pull request does not change the file.

  • PyKED version. The job installed pyked from PyPI (0.5.0). That release accepts chemked-version only up to 0.5.0a0, accepts only ignition delay files, and cannot read the ReSpecTh uncertainty form (evaluated-standard-deviation). 2,114 of the 2,465 files on main have chemked-version: 0.5.0. The job now installs PyKED from main of pr-omethe-us/PyKED, which already accepts chemked-version: 0.5.0 and has the laminar burning velocity and speciation schemas.

Effect on the open pull requests

  • Make butanol/ the parent folder of the butanol isomer folders #46 (butanol reorganisation): 243 renames with the same content and 21 deletions, so no file is checked. Checked with PyKED including that pull request, 151 of the 243 pass. The other 92 fail on content that is already on main: 66 hand-made files give equivalence-ratio as a number instead of a list, and 26 conversions give the journal as Energy & Fuels. The conversion-fixes pull request corrects both.

Note

When a PyKED release with these schema changes is on PyPI, the job can go back to pip install pyked.

- Install PyKED from LekiaAnonim/PyKED at a9a25857, which reads the
  ChemKED 0.5.0 files of this repository (laminar burning velocity,
  speciation, ReSpecTh uncertainties). PyKED 0.5.0 from PyPI accepts
  chemked-version only up to 0.5.0a0 and only ignition delay files, so
  every ReSpecTh conversion failed.
- List changed files with core.quotepath=false. git quoted the accented
  paths (for example Togbé_2010), and those files were not checked.
- Skip files that are only renamed or moved (R100): their content is
  already in the repository.
The pin to a commit of LekiaAnonim/PyKED is replaced by main of the
PyKED repository, which already accepts chemked-version 0.5.0 and has
the laminar burning velocity and speciation schemas.
@kyleniemeyer

Copy link
Copy Markdown
Member

OK, thanks @LekiaAnonim - let's adopt this temporarily and then revert after the next pyKED release (which I'm not quite ready to do).

@kyleniemeyer
kyleniemeyer merged commit 1a11317 into pr-omethe-us:main Nov 2, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants