Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
275 commits
Select commit Hold shift + click to select a range
e3e1a77
feat(core): cell and Uij symmetry checks; least-change canonicalizati…
AdamCorrao Oct 6, 2026
d39f254
feat(core): schema_core phase structure: UnitCell, Atom, PhaseStructu…
AdamCorrao Oct 6, 2026
69a40f8
docs(SCHEMA_HISTORY): core 1.0.0 phase-structure rules for recipe bui…
AdamCorrao Oct 6, 2026
8f7991f
fix(core): PhaseStructure reports every structural problem at its own…
AdamCorrao Oct 6, 2026
f964558
fix(core): review nits: element hints, finite Chebyshev coefficients,…
AdamCorrao Oct 6, 2026
b5cea07
test(core): pin which field failed and exact return values in the sch…
AdamCorrao Oct 6, 2026
9ad114c
fix(core): numbers are JSON numbers: no strings or booleans in numeri…
AdamCorrao Oct 6, 2026
4b61201
Merge pull request #3 from AdamCorrao/re/03-core-schema
AdamCorrao Oct 6, 2026
6c29497
fix(symmetry): monoclinic unique axis from the 2-fold axis or the mir…
AdamCorrao Oct 7, 2026
a0c1a15
feat(core): one phase block, Phase[P] with refinable values and canon…
AdamCorrao Oct 7, 2026
af9d2ec
feat(symmetry): cell tie groups (incl. :R) and site coupling groups w…
AdamCorrao Oct 7, 2026
8f080c2
feat(core): flag and bound rules F1-F4 on the phase block (A95, A98, …
AdamCorrao Oct 7, 2026
ec261a8
docs(schema): core 1.0.0 phase block, pre-release revision (re/03b)
AdamCorrao Oct 7, 2026
0eb3d31
fix(core): ADP selects a required thermal parameter, stated in the sc…
AdamCorrao Oct 7, 2026
8bd674a
build: pin gemmi exactly (==0.7.5)
AdamCorrao Oct 7, 2026
6afa7e2
fix(core): guard engine phase subclasses; name rule; cell-bound domai…
AdamCorrao Oct 7, 2026
abb6b64
fix(core): validation never changes a recipe; a phase model needs its…
AdamCorrao Oct 7, 2026
0b06b09
feat(core): a non-positive-definite Uaniso is accepted with a warning…
AdamCorrao Oct 7, 2026
5994fd0
feat(core): thirds are stated to 6 decimals; decimal-form values exac…
AdamCorrao Oct 7, 2026
4f41bbf
docs(schema): a recipe file is never rewritten; a model dump spells 1…
AdamCorrao Oct 7, 2026
6af30c9
fix(symmetry): SiteAnalysis.canonical is not the engines' structure; …
AdamCorrao Oct 8, 2026
b446577
fix(core): one rule for symmetry-determined values; engine guard laye…
AdamCorrao Oct 8, 2026
2810c82
Merge pull request #4 from AdamCorrao/re/03b-phase-block
AdamCorrao Oct 8, 2026
e2481db
feat(gsasii): native gsasii.rietveld / gsasii.spf schemas (engine sch…
AdamCorrao Oct 8, 2026
809c329
chore(gsasii): verbatim legacy executor for 0.26.0 recipes (A39, ledg…
AdamCorrao Oct 8, 2026
ba068d2
feat(gsasii): run native gsasii.* recipes; ledger edits R1-R10 (A39)
AdamCorrao Oct 8, 2026
c936153
feat(scripts): 0.26.0 -> gsasii 1.0.0 recipe converter (re/04 §3)
AdamCorrao Oct 8, 2026
38d6007
chore(gsasii): legacy copy gains the functions ledger batch 2 touches
AdamCorrao Oct 8, 2026
b8923dd
feat(gsasii): GSAS-II site check after phase setup (A117, ledger R13)
AdamCorrao Oct 8, 2026
65b95ca
feat(gsasii): standard fit statistics, engine details, warnings; core…
AdamCorrao Oct 8, 2026
ebde33c
feat(gsasii): schema rules from the re/04 PR review (A126, A127, A133)
AdamCorrao Oct 8, 2026
8554975
feat(gsasii): result fixes from the re/04 PR review (A128-A131, A133)
AdamCorrao Oct 8, 2026
ec69211
fix(gsasii): ledger R15, R16 (re/04 PR review)
AdamCorrao Oct 8, 2026
b358ebd
fix(scripts): 0.26.0 converter rules from the re/04 PR review (A132)
AdamCorrao Oct 8, 2026
45133e0
docs(schema-history): gsasii 1.0.0 rules and results from the re/04 P…
AdamCorrao Oct 8, 2026
139e72d
Merge pull request #5 from AdamCorrao/re/04-gsasii-schema
AdamCorrao Oct 8, 2026
5cde3e7
refactor(topas): move the TOPAS package into gateways/topas (A136)
AdamCorrao Oct 8, 2026
e448e16
refactor(core): parameters_requested moves into schema_core (re/05 D12)
AdamCorrao Oct 9, 2026
a357bda
feat(topas): native topas.rietveld / topas.spf schemas, TOPAS 6 (re/05)
AdamCorrao Oct 9, 2026
68f7926
feat(topas): native writer, runner and gateway routing for topas.* (r…
AdamCorrao Oct 9, 2026
5062d3c
re/05: fix two native TOPAS bugs found by the TOPAS 6 pack 2 runs
AdamCorrao Oct 9, 2026
720d883
re/05: fit limits on data points (A149) — core rule + TOPAS writer
AdamCorrao Oct 9, 2026
4347ae0
re/05: GSAS-II fit limits on data points (A149, ledger R17, signed)
AdamCorrao Oct 9, 2026
c677b0d
re/05: TOPAS background-run INP (A152)
AdamCorrao Oct 9, 2026
8cd5c86
re/05: background column from TOPAS's background run (A152)
AdamCorrao Oct 9, 2026
450c803
re/05: TOPAS 6 goldens for the six native fixtures + roundtrip tests
AdamCorrao Oct 9, 2026
ff17579
re/05: SCHEMA_HISTORY topas 1.0.0 entry; fit window on data points (g…
AdamCorrao Oct 9, 2026
1a35898
re/05: read TOPAS's output strictly; any non-finite number is a diver…
AdamCorrao Oct 9, 2026
e8b2bf2
re/05: TOPAS outputs are removed before the run, never judged by time…
AdamCorrao Oct 9, 2026
06cb9a4
re/05: PR review nits (limit messages, CS ceiling, SPF window test)
AdamCorrao Oct 9, 2026
b5342c8
re/05: open fit-range ends are the first/last weighted data points (A…
AdamCorrao Oct 9, 2026
240147e
re/05: SCHEMA_HISTORY and docstrings after the PR review (A154, A155)
AdamCorrao Oct 9, 2026
494a802
Merge pull request #6 from AdamCorrao/re/05-topas-schema
AdamCorrao Oct 9, 2026
f2cc887
refactor(easydiffraction): move the easydiff package into gateways/ea…
AdamCorrao Oct 9, 2026
45bc833
feat(easydiffraction): native easydiffraction.rietveld schema (re/06)
AdamCorrao Oct 9, 2026
d8db8c5
feat(easydiffraction): native builder and run for easydiffraction.rie…
AdamCorrao Oct 9, 2026
508f39f
chore(easydiffraction): bump easydiffraction to 0.21.1 and solve env
AdamCorrao Oct 10, 2026
e2408f3
chore(easydiffraction): supported version ==0.21.1 (A116)
AdamCorrao Oct 10, 2026
b9af5c8
fix(easydiffraction): anisotropic ADPs reach the engine (EB-23, A169)
AdamCorrao Oct 10, 2026
4ff6e36
docs(easydiffraction): the not-converged warning names its likely cau…
AdamCorrao Oct 10, 2026
8c3b598
fix(easydiffraction): verify each calculator's settings on its own (A…
AdamCorrao Oct 10, 2026
b4fe715
test(easydiffraction): two-phase native fixture, test and golden (re/06)
AdamCorrao Oct 10, 2026
e5219b2
feat(easydiffraction): negative peak widths are refused, and reported…
AdamCorrao Oct 10, 2026
4cccf85
docs(easydiffraction): SCHEMA_HISTORY entry for engine schema 1.0.0 (…
AdamCorrao Oct 10, 2026
a0119d7
fix(easydiffraction): write the data loop without exponents (EB-89)
AdamCorrao Oct 10, 2026
f1c9bce
test(easydiffraction): the CrysPy LaB6 golden carries the negative-wi…
AdamCorrao Oct 10, 2026
3b1feec
feat(gsasii): report whether a Rietveld refinement converged (A172)
AdamCorrao Oct 10, 2026
585ba69
fix(easydiffraction): read the reflection list strictly; tests for si…
AdamCorrao Oct 10, 2026
1c9e499
fix(easydiffraction): verify settings on every special site; CrysPy r…
AdamCorrao Oct 10, 2026
8dfa9bb
fix(easydiffraction): refuse negative intensities; check peak widths …
AdamCorrao Oct 10, 2026
0000d5f
feat(easydiffraction): accept positions held as a lattice translation…
AdamCorrao Oct 10, 2026
d1d7a08
docs(easydiffraction): SCHEMA_HISTORY for the PR-review decisions (A1…
AdamCorrao Oct 10, 2026
799938f
fix(easydiffraction): at a zero limit, judge "ended at the limit" rel…
AdamCorrao Oct 12, 2026
0e34f54
Merge pull request #7 from AdamCorrao/re/06-easydiff-schema
AdamCorrao Oct 12, 2026
f87575d
docs(CLAUDE.md): refresh the refactor banner after re/06
AdamCorrao Oct 12, 2026
a0aa601
re/07: frozen gsasii modules no longer import powderline.schema (ledg…
DanOlds Oct 13, 2026
c3abb67
re/07: native TOPAS path owns its peak-list parsing; package import i…
DanOlds Oct 13, 2026
9e80a49
re/07: easydiffraction package import is legacy-free
DanOlds Oct 13, 2026
976ffc9
feat(api): engine-free validate() through the registry, ValidationRes…
DanOlds Oct 13, 2026
8693b80
refactor(gsasii): the GSAS-II run() lives in its gateway; server and …
DanOlds Oct 13, 2026
22dfc87
docs: add the root CHANGELOG with the 0.2.0 draft entry (A12, A16)
DanOlds Oct 13, 2026
853c446
docs: draft the 0.26.0 -> 1.0.0 recipe migration guide (A4, A14, A137)
DanOlds Oct 13, 2026
d58dfde
docs: support-matrix page from powderline.support_matrix() (A40, A65)
DanOlds Oct 13, 2026
ac3ff6d
docs: wire the migration guide, support matrix and changelog into the…
DanOlds Oct 13, 2026
8c25462
feat(api): run() dispatches on schema_name; engine= is a deprecated k…
DanOlds Oct 13, 2026
ae3e719
feat(cli): kicker.py is the one CLI, engine-free, dispatching on sche…
DanOlds Oct 13, 2026
2674e19
docs(gsasii): validation.py docstring names the public validate() tha…
DanOlds Oct 13, 2026
cc32c43
Merge branch 're/07-b-decouple' into re/07-legacy-removal
DanOlds Oct 13, 2026
2eed3f3
Merge branch 're/07-c-api' into re/07-legacy-removal
DanOlds Oct 13, 2026
52448d2
test: the legacy-bound tests read 0.26.0 snapshots of the examples (r…
DanOlds Oct 13, 2026
72b2067
examples: the eight gsasii examples are native gsasii.rietveld / gsas…
DanOlds Oct 13, 2026
820ba15
examples: per-engine recipes for the A173 reference cases; legacy eas…
DanOlds Oct 13, 2026
322e88c
examples: templates for gsasii.rietveld, topas.rietveld and easydiffr…
DanOlds Oct 13, 2026
fea1e61
feat(gsasii): mp-simulate ships with the GSAS-II gateway and emits gs…
DanOlds Oct 13, 2026
45aaf92
examples: regression references regenerated on the native path (the o…
DanOlds Oct 13, 2026
bb7e100
feat(scripts): cross_engine_comparison.py builds the A173 table from …
DanOlds Oct 13, 2026
f7dff84
docs: cross-engine comparison page includes the generated A173 table …
DanOlds Oct 13, 2026
a450b0f
test: cross_engine_comparison.py rebuilds the page from committed fil…
DanOlds Oct 13, 2026
56a2930
re/07: frozen gsasii modules name the native schemas only (ledger R23…
DanOlds Oct 13, 2026
15f111c
test: the legacy TOPAS tests go; their native-covered behaviours move…
DanOlds Oct 13, 2026
186a83b
test: the legacy easydiffraction tests go (builder, conversions, poli…
DanOlds Oct 13, 2026
24b6397
refactor(gateways): the three gateways serve their native workflows o…
DanOlds Oct 13, 2026
102ac31
refactor(topas): the 0.26.0 translation path is deleted (writer, engi…
DanOlds Oct 13, 2026
0f96484
refactor(easydiffraction): the 0.26.0 translation path is deleted (bu…
DanOlds Oct 13, 2026
c2af303
refactor: the 0.26.0 schema, the legacy GSAS-II executor and the re/0…
DanOlds Oct 13, 2026
528cee9
re/07: execute_rietveld_refinement takes the gsasii.rietveld model; s…
DanOlds Oct 13, 2026
d3f1dc7
chore: sweep the 0.26.0 names out of src/ and tests/ (re/07 H)
DanOlds Oct 13, 2026
6facb2b
build(pixi): core-only default env; gsasii/easydiffraction/all/dev fe…
DanOlds Oct 13, 2026
bde3b66
feat(gateways): ENV/INSTALL_COMMAND name the final pixi envs; manifes…
DanOlds Oct 13, 2026
273044a
docs: env identifier easydiff -> easydiffraction; KI-13 install-healt…
DanOlds Oct 13, 2026
540ad2a
test(regression): kicker runs through subprocess_utils.kicker_command…
DanOlds Oct 13, 2026
cebc10c
Merge branch 're/10-docs-drafts' into re/10-docs
DanOlds Oct 13, 2026
8ad2f14
Merge branch 're/10-g-compare' into re/10-docs
DanOlds Oct 13, 2026
368d61f
docs: schemas overview page (re/10 §1.1)
DanOlds Oct 13, 2026
08336d8
docs: fields & features page generated from the schemas (re/10 §1.2; …
DanOlds Oct 13, 2026
4d08667
test: suite markers on every test; four mixed modules split; one-suit…
DanOlds Oct 13, 2026
ee3f9d1
docs: input guidance page: data, structures, instruments, what is not…
DanOlds Oct 13, 2026
83f3600
test: the core guard -- an engine-free pytest run blocks every engine…
DanOlds Oct 13, 2026
23df293
docs: engine behaviour notes page; known-issues dispositions proposed…
DanOlds Oct 13, 2026
37e5d5c
build(pixi): marker-aware suite tasks -- test, test-gsasii, test-easy…
DanOlds Oct 13, 2026
729d9e0
ci: per-environment matrix -- core, gsasii, easydiffraction on linux+…
DanOlds Oct 13, 2026
47805d0
docs: policies and process page (re/10 §2)
DanOlds Oct 13, 2026
9857651
docs: engine-version compatibility procedure + dry-run script; Runnin…
DanOlds Oct 13, 2026
087e5e2
docs: fill the re/07 and re/08 placeholders; regenerate the support m…
DanOlds Oct 13, 2026
eab34c4
docs: README, quickstart and getting-started describe the multi-engin…
DanOlds Oct 13, 2026
599c371
feat(core): a fit window must hold two weighted data points (P-04 N9;…
DanOlds Oct 13, 2026
bf33204
docs: integration guide and example scripts on the 0.2.0 API (re/10 §…
DanOlds Oct 13, 2026
e2d5f91
feat(topas): the fit window is an SPF peak position's reporting limit…
DanOlds Oct 13, 2026
1ec4267
docs: troubleshooting guide for the native schemas, environments and …
DanOlds Oct 13, 2026
cbfaae3
docs: developer guide rewritten for the gateway architecture; "Adding…
DanOlds Oct 13, 2026
5dc2b0e
docs: api.rst autodocs the public API; cross-platform, mp-simulation …
DanOlds Oct 13, 2026
00918a8
feat(gateways): one validate_only summary shape on every gateway (P-2…
DanOlds Oct 13, 2026
9d5f96b
test(regression): example_DRX_33_strainonly joins the standard Rietve…
DanOlds Oct 13, 2026
19578c1
docs(examples): peak_convergence_diagnostics.txt is conditional; test…
DanOlds Oct 13, 2026
637d732
refactor(gateways): is_native_recipe is deleted from the three schema…
DanOlds Oct 13, 2026
fc1e276
docs: CLAUDE.md rewritten for the gateway architecture (banner off); …
DanOlds Oct 13, 2026
e1fdea6
Merge branch 're/07-g2-fixes' into re/07-legacy-removal
DanOlds Oct 13, 2026
ef66fa9
Merge branch 're/10-docs' into re/07-legacy-removal
DanOlds Oct 13, 2026
0381b14
docs: the validate-only summary is described in its P-28 shape; two d…
DanOlds Oct 13, 2026
8900440
test: the cross-engine comparison tests carry the core suite marker (…
DanOlds Oct 13, 2026
00a0408
build(pixi): lock for the core-only default + engine envs (re/08)
DanOlds Oct 14, 2026
d1b368e
test(regression): kicker_command always runs in the gsasii env (re/09…
DanOlds Oct 14, 2026
4ee32da
Merge main (v0.1.2: per-user, token-authenticated GSAS-II server) int…
DanOlds Oct 14, 2026
33b6389
fix(merge follow-up): one CLI no-server test; upgrade note names both…
DanOlds Oct 14, 2026
5655a91
fix(recipes): UTF-8 (BOM-tolerant) loading, mapping check, clear load…
DanOlds Oct 14, 2026
09bb502
fix(config): read .powderline_config.yaml as UTF-8; a malformed file …
DanOlds Oct 14, 2026
e14b70c
test(gateways): the engine-not-installed tests key on distribution me…
DanOlds Oct 14, 2026
e550e3d
test(infra): kicker_command honours repo_root; example fixtures use a…
DanOlds Oct 14, 2026
664cdb5
test(examples): every shipped recipe validates engine-free; the getti…
DanOlds Oct 14, 2026
d80a0a3
docs: statements that contradicted the code (review items 15, 26, 30;…
DanOlds Oct 14, 2026
e42cbdf
docs(examples): DESCRIPTIONs name the gsasii env, the 14-column SPF r…
DanOlds Oct 14, 2026
127913d
docs(changelog): the post-review tier-1 fixes (loading, config, docs)
DanOlds Oct 14, 2026
48efe42
test(infra): finish review item 17 for the gsasii suite; encodings on…
DanOlds Oct 14, 2026
6e6b310
feat(core): structured warnings carry an optional level; the CLI coun…
DanOlds Oct 15, 2026
a170606
feat(core): report every symmetry-derived value held in place of the …
DanOlds Oct 15, 2026
1033f8a
feat(gsasii): warn when background or refinement_cycles is left out a…
DanOlds Oct 15, 2026
a373a6f
feat(topas): tc.exe runs only from a declared location; the run recor…
DanOlds Oct 15, 2026
4f220b9
docs(changelog): warning levels, symmetry_value_derived, gsasii defau…
DanOlds Oct 15, 2026
ea5385a
docs: level and tc_path in the result-shape pages; background default…
DanOlds Oct 15, 2026
3ec7904
feat(gateways): *_phase_contributes_nothing is an info-level note
DanOlds Oct 15, 2026
cf8f14d
feat(core): the run-result envelope, reason codes, ExecutionBackendEr…
DanOlds Oct 15, 2026
5edb611
fix(gsasii): PowderLine's own failures propagate out of the frozen ex…
DanOlds Oct 15, 2026
68f6a84
feat(gsasii): the gateway raises from the envelope; client and server…
DanOlds Oct 15, 2026
b8f160d
feat(topas): generate-only is status "generated"; failures carry reas…
DanOlds Oct 15, 2026
6ee4165
feat(easydiffraction): engine exceptions become engine_crashed; statu…
DanOlds Oct 15, 2026
812f459
feat(cli): report by outcome class -- engine failure with reason and …
DanOlds Oct 15, 2026
b1e90c6
docs: the failure contract -- raised failures with reasons, status/co…
DanOlds Oct 15, 2026
4326372
fix(re/12): api.rst autodocs the envelope functions; a gateway test a…
DanOlds Oct 15, 2026
b75f29e
test(easydiffraction): the validate-only summary's status is "validat…
DanOlds Oct 15, 2026
9041e61
fix(re/12): one server-attempt path for both client branches; unusabl…
DanOlds Oct 15, 2026
9e1f8c9
fix(server): one refinement at a time
DanOlds Oct 15, 2026
c818ac8
fix(server,client): a bad POWDERLINE_SERVER_PORT or busy port is repo…
DanOlds Oct 15, 2026
a4e9f4e
fix(server): small body cap off /simulate; Windows file-op retries; o…
DanOlds Oct 15, 2026
906979d
docs: the re/14 server robustness changes (changelog, developer guide…
DanOlds Oct 15, 2026
f25d9de
fix(server,client): bind before the GSAS-II import; a child that exit…
DanOlds Oct 15, 2026
7617826
refactor: remove the Materials Project simulation tool; the structure…
DanOlds Oct 15, 2026
e8fdbd9
docs,tests: the re/15 review's leftovers from the Materials Project r…
DanOlds Oct 15, 2026
29b9f43
refactor(schema_core): the engine schema building blocks (P-37)
DanOlds Oct 15, 2026
551a970
refactor(gsasii): schema composed from the core building blocks (P-37)
DanOlds Oct 15, 2026
70e33f6
refactor(topas): schema composed from the core building blocks (P-37)
DanOlds Oct 15, 2026
83539fe
refactor(easydiffraction): schema composed from the core building blo…
DanOlds Oct 15, 2026
e0903d0
feat(exceptions): WARNING_CODES, the registry of structured-warning c…
DanOlds Oct 15, 2026
50b93b6
docs: the schema building blocks and the warning-code registry (P-37)
DanOlds Oct 15, 2026
08d0cba
refactor(schema): the re/16 review's leftovers — two unused imports, …
DanOlds Oct 15, 2026
bd0079b
build(pixi): drop mp-api and emmet-core from the gsasii feature (P-36…
DanOlds Oct 16, 2026
acb3903
refactor(topas,easydiffraction): drop the legacy conversion helpers, …
DanOlds Oct 16, 2026
fecbeae
refactor(symmetry): remove the pre-refactor API that only tests calle…
DanOlds Oct 16, 2026
80010ef
build,ci: drop three unused dependencies, add the field-table check t…
DanOlds Oct 16, 2026
bef2f0c
feat(server,client): /health reports version and code hash; a stale s…
DanOlds Oct 16, 2026
035b403
chore(gsasii): frozen housekeeping — dead .lst extractor and unused i…
DanOlds Oct 16, 2026
95823cc
docs: the re/17 housekeeping in the 0.2.0 changelog
DanOlds Oct 16, 2026
e5303a3
fix(docs,gsasii): the re/17 review's findings — changelog no longer f…
DanOlds Oct 16, 2026
7e7e0df
build(pixi): drop h5py, pybaselines, xmltodict from the lock (P-41 H6)
DanOlds Oct 16, 2026
9950ac7
release: PowderLine 0.2.0 — version bump, known-issue dispositions co…
DanOlds Oct 16, 2026
822cc73
refactor(results): remove the deprecated success alias from every env…
DanOlds Oct 19, 2026
399875b
feat(server): run each job in a private scratch dir and return its fi…
DanOlds Oct 19, 2026
e39477f
feat(client): write the server's files locally; the shared-filesystem…
DanOlds Oct 19, 2026
bb24f0f
test(server): the live suite proves in-band delivery (KI-12)
DanOlds Oct 19, 2026
a9f474f
docs: in-band server output, KI-12 resolved, the success alias and ou…
DanOlds Oct 19, 2026
e0a3f0a
fix(server,client): the re/19 review — hardening and stale text
DanOlds Oct 19, 2026
0bb202f
feat(roundtrip): the output recipe, tie propagation, the multiplicity…
DanOlds Oct 19, 2026
4f18b08
feat(topas): output recipe and dispositions from the writer's paramet…
DanOlds Oct 19, 2026
3796150
feat(easydiffraction): output recipe from the builder's free paramete…
DanOlds Oct 19, 2026
72c324b
feat(api,cli): output recipe in the validate-only summary, core-block…
DanOlds Oct 19, 2026
04d5657
fix(roundtrip): the re/20a review — readable validation problems, exa…
DanOlds Oct 19, 2026
0f5d45a
test(easydiffraction): the output recipe feeds back on crysfml_tch; c…
DanOlds Oct 19, 2026
d3ffd27
feat(gsasii): the output recipe from GSAS-II's own parameter names (K…
DanOlds Oct 20, 2026
3454761
docs: KI-04 resolved for every engine; the output recipe in TROUBLESH…
DanOlds Oct 20, 2026
fca4a6f
fix(gsasii): the re/20b review — instrument-profile peak fits, unmapp…
DanOlds Oct 20, 2026
e46d036
feat(gsasii): the peak fit's own parameter block feeds the output rec…
DanOlds Oct 20, 2026
0f0586f
docs(examples): say which references have output recipes that are inv…
DanOlds Oct 20, 2026
484567e
feat(examples): LaB6 temperature series — sequential refinement throu…
DanOlds Oct 20, 2026
96d199b
feat(examples): the easydiffraction leg of the LaB6 temperature serie…
DanOlds Oct 20, 2026
68ad145
feat(core): one unit-cell report vocabulary for every engine (re/23, …
DanOlds Oct 20, 2026
fdd240f
fix(gsasii): a simulation's unit-cell report carries 0.0 ESDs, not em…
DanOlds Oct 20, 2026
d85065c
docs: EB-93 -- easydiffraction's low La Uiso on GSAS-II-calculated La…
DanOlds Oct 20, 2026
67586b3
chore: hygiene after the re/20-24 reviews, and EB-93's cause shown (r…
DanOlds Oct 20, 2026
101be66
docs: the known-issues second pass (re/26, P-46)
DanOlds Oct 20, 2026
b37428b
feat: powderline --doctor (KI-13) and the GSAS-II console tail in fai…
DanOlds Oct 20, 2026
f0ac369
feat: ionic scattering types as engine content (re/28, P-47; closes A…
DanOlds Oct 21, 2026
22f330d
feat(examples): LaB6 with La3+ -- the reference for ionic scattering …
DanOlds Oct 21, 2026
14f5807
feat: March-Dollase preferred orientation for gsasii and easydiffract…
DanOlds Oct 21, 2026
c2aaba4
feat(examples): LaB6 textured -- a mathematical demonstration of Marc…
DanOlds Oct 21, 2026
0d3aca7
docs: the consistency pass after re/26-29 (four clustered reviews; no…
DanOlds Oct 21, 2026
d85d257
chore: fields-check says what it compared on success
DanOlds Oct 21, 2026
9c5dba1
feat: a failed run leaves the engine's own files and failure.json, no…
DanOlds Oct 21, 2026
11bb413
build: require pixi >= 0.82.1, CI on pixi v0.83.0, pip >= 26.2.2
AdamCorrao Nov 4, 2026
5ff93e6
feat: engine version in provenance, TOPAS timeout and failure record
AdamCorrao Nov 4, 2026
1c55172
fix: keep private development ids out of user-facing text
AdamCorrao Nov 4, 2026
1926fc3
feat!: core and engine schemas restart at 0.1.0
AdamCorrao Nov 4, 2026
3ac16a3
docs: remove private design-record ids and personal details from publ…
AdamCorrao Nov 4, 2026
0783064
docs: move agent guidance to AGENTS.md; CLAUDE.md imports it
AdamCorrao Nov 4, 2026
890f814
docs: scattering types by engine; atoms near a special position
AdamCorrao Nov 4, 2026
9ecd06a
docs: engine citations, recipe-building workflow, s.u. note
AdamCorrao Nov 4, 2026
3b67705
test(examples): output recipes on the older references; easydiffracti…
AdamCorrao Nov 4, 2026
6d2c9a6
docs: easydiffraction example references; KI-15 notes the ionic leg
AdamCorrao Nov 4, 2026
cbae44f
docs: CHANGELOG for 0.2.0 in Keep a Changelog form; CITATION 0.2.0
AdamCorrao Nov 4, 2026
4120d93
test(examples): output recipes for the three DRX_33 refinements
AdamCorrao Nov 4, 2026
7929a60
feat(topas): ionic types, preferred orientation, safer runs; goldens …
AdamCorrao Nov 4, 2026
be46b9a
docs(topas): TOPAS 6 and 7 are separate releases (version-spec note)
AdamCorrao Nov 4, 2026
4029d22
docs: TOPAS execution verified on TOPAS 6 (KI-16 resolved)
AdamCorrao Nov 4, 2026
31ca297
fix(topas): keep a finished fit when the background run times out
AdamCorrao Nov 4, 2026
5b9481c
docs: remove private ids from printed text and published docstrings
AdamCorrao Nov 4, 2026
efc8a2d
docs(gsasii): frozen-module comments name schema 0.1.0
AdamCorrao Nov 4, 2026
cd13f55
docs: cross-engine page uses the cell-refined TOPAS golden; stale text
AdamCorrao Nov 4, 2026
9fc4c45
test(examples): regenerate three output recipes with engine provenance
AdamCorrao Nov 4, 2026
8c8e991
fix(topas): shorten only the folder of a non-ANSI INP path
AdamCorrao Nov 4, 2026
c12c8dc
Merge NSLS2/PowderLine main (03e0d7c) into 0.2.0
AdamCorrao Nov 4, 2026
a8a992b
fix: keep previous results until a run can start; no default server w…
DanOlds Nov 5, 2026
70ec497
Merge pull request #8 from DanOlds/pr-13-fixes
AdamCorrao Nov 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
78 changes: 73 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
workflow_dispatch:

# Least-privilege default: neither job here needs to write anything.
# Least-privilege default: no job here needs to write anything.
permissions:
contents: read

Expand All @@ -19,20 +19,88 @@ defaults:
run:
shell: bash

# Test matrix: one job per pixi environment x (linux, windows). The
# suites are pytest marker selections (pyproject.toml) bound to pixi tasks
# (pixi.toml): `core` runs the engine-free suites in the default env with the
# core guard on (tests/conftest.py), `gsasii` and `easydiffraction` run their
# engine's suite in its env. Only `topas_exec` is absent: it needs tc.exe and
# stays a manual gate step on the TOPAS machine. Every job is gated to the
# upstream repository: CI runs with the PR to NSLS2/PowderLine, not on
# forks, and each job's command is proven locally first:
# pixi run test · pixi run -e gsasii test-gsasii · pixi run -e easydiffraction test-easydiffraction · pixi run docs
# setup-pixi caches .pixi/envs per lock-file hash and environment; the cache
# is written only on pushes to main so PRs read it and the gsasii env (the
# slow pixi-build one) is built once per lock change.

jobs:
test:
# Run on pull requests, direct pushes to main, and manual dispatch in the upstream repository.
core:
# The no-plugin guarantee: schema layer, registry, CLI, TOPAS input generation,
# without any engine installed or importable.
if: github.repository == 'NSLS2/PowderLine'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
with:
pixi-version: v0.83.0
- name: Run tests
environments: default
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
- name: Engine-free suites (core + topas_gen, core guard on)
run: pixi run test
- name: Generated field tables and support matrix are current
run: pixi run fields-check

gsasii:
# GSAS-II suite incl. the slow regressions against the committed references.
if: github.repository == 'NSLS2/PowderLine'
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 90
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
with:
pixi-version: v0.83.0
environments: gsasii
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
- name: GSAS-II suite
run: pixi run -e gsasii test-gsasii

easydiffraction:
# easydiffraction suite (native runs and goldens; no GSAS-II in this env).
if: github.repository == 'NSLS2/PowderLine'
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
with:
pixi-version: v0.83.0
environments: easydiffraction
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
- name: easydiffraction suite
run: pixi run -e easydiffraction test-easydiffraction

docs:
# Build-only check that the docs still compile warning-free
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,7 @@ examples/**/output/**/*.bak*.gpx
# Stray Fortran scratch files (e.g. GSAS-II fort.NN reflection dumps)
fort.*

.vscode/*
.vscode/*

# Maintainers' local probe scripts (never part of the package or the suite)
probes/
33 changes: 20 additions & 13 deletions .powderline_config.yaml.example
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
# PowderLine Configuration File
# Copy this file to .powderline_config.yaml and add your API keys
# The actual config file (.powderline_config.yaml) is not tracked by git
# Copy this file to .powderline_config.yaml. It is not tracked by git.

# Materials Project API Configuration
materials_project:
api_key: "YOUR_API_KEY_HERE"
# Get your free API key at: https://next-gen.materialsproject.org/api
# Alternatively, set the MP_API_KEY environment variable
# (a real key set here takes precedence over the environment variable)
# ─── TOPAS (topas.* recipes) ────────────────────────────────────────────────
# A run that executes TOPAS needs both values declared, here or with the CLI's
# --topas-dir / --topas-version: `dir` is the folder holding tc.exe and
# `version` the installed TOPAS version, which must equal the recipe's
# engine_version (TOPAS 6 is the supported version). PowderLine never guesses
# where TOPAS is: with no `dir` it only writes the INP (generate-only).
# Uncomment to use.
# `timeout` stops a tc.exe run after that many seconds (default 3600; 0 = no
# limit), so a TOPAS waiting for input (a licence dialog) cannot hang a run.
# topas:
# dir: "C:/TOPAS6"
# version: 6
# timeout: 3600

# ─── GSAS-II simulation defaults ─────────────────────────────────────────────
# Simulations (mp-simulate) run through the GSAS-II engine: all parameters
# Simulation recipes built by SimulationRecipeBuilder run through the GSAS-II engine: all parameters
# below follow GSAS-II conventions and units. TOPAS is NOT used here — it has
# different conventions for polarization, axial divergence, and the
# instrumental broadening parameters.
Expand All @@ -24,8 +30,9 @@ simulation_defaults:
instrument_defaults:
wavelength: 0.4133 # Angstroms (lambda = 12.398 / E[keV]; 0.4133 A = 30 keV)
polarization: 0.99 # GSAS-II 'Polariz.'
zero_shift: 0.0 # degrees 2theta (GSAS-II 'Zero')
axial_divergence: 0.001 # GSAS-II 'SH/L'
zero_shift: 0.0 # centidegrees 2theta (GSAS-II 'Zero')
axial_divergence: 0.002 # GSAS-II 'SH/L'; 0.002 is GSAS-II's own floor
# (smaller values are rejected)

# Thompson-Cox-Hastings pseudo-Voigt instrumental broadening
# (GSAS-II U, V, W, X, Y, Z; reasonable high-resolution synchrotron values)
Expand All @@ -41,8 +48,8 @@ simulation_defaults:
phase_defaults:
scale: 1.0

# Structural fallbacks — applied ONLY when the structure source (e.g.
# Materials Project, CIF) does not provide a value; a warning is printed
# Structural fallbacks — applied ONLY when the structure source (the
# structure dict given to the builder) does not provide a value; a warning is printed
# whenever a fallback is used
Uiso: 0.01 # isotropic displacement, Angstrom^2
occupancy: 1.0 # site occupancy fraction
Expand Down
Loading
Loading