Skip to content

Add product_identification_method and test fixtures - #19

Merged
HendrikBorgelt merged 1 commit into
mainfrom
fix_testdata_issues
Mar 10, 2026
Merged

Add product_identification_method and test fixtures#19
HendrikBorgelt merged 1 commit into
mainfrom
fix_testdata_issues

Conversation

@HendrikBorgelt

Copy link
Copy Markdown
Member

Add a new product_identification_method slot and integrate it into the schema and datamodel; include many new valid test YAML fixtures.

Details:

  • Schema: add coremeta4cat:product_identification_method slot (range ProductIdentificationMethod), Reaction-specific slot mapping, and update related class/slot usages.
  • Datamodel: register slots.product_identification_method and adjust ordering for carried_out_by normalization in Reaction.
  • Simulation: change realized_plan from a multivalued list to a single SimulationMethod (update datamodel, slot range and pydantic types/validation accordingly).
  • Characterization / equipment: extend VOC4CAT:0000187 domain to include Characterization and add equipment as a required field on Characterization; update ThermalSynthesis/equipment json_schema_meta across many classes.
  • ProductIdentificationMethod: adjust class metadata (no longer abstract in generated pydantic/datamodel where appropriate) and align from_schema mappings.
  • Misc: update generated timestamps in auto-generated files.
  • Tests: add multiple new valid test YAML files covering CatalysisDataset, Characterization (several), Reaction (two), Simulation (two), and Synthesis fixtures to exercise the new slot and other schema changes.

These changes implement product identification support for reactions, ensure equipment is usable on characterization records, and adapt the generated models and validation to the updated schema.

Add a new product_identification_method slot and integrate it into the schema and datamodel; include many new valid test YAML fixtures.

Details:
- Schema: add coremeta4cat:product_identification_method slot (range ProductIdentificationMethod), Reaction-specific slot mapping, and update related class/slot usages.
- Datamodel: register slots.product_identification_method and adjust ordering for carried_out_by normalization in Reaction.
- Simulation: change realized_plan from a multivalued list to a single SimulationMethod (update datamodel, slot range and pydantic types/validation accordingly).
- Characterization / equipment: extend VOC4CAT:0000187 domain to include Characterization and add equipment as a required field on Characterization; update ThermalSynthesis/equipment json_schema_meta across many classes.
- ProductIdentificationMethod: adjust class metadata (no longer abstract in generated pydantic/datamodel where appropriate) and align from_schema mappings.
- Misc: update generated timestamps in auto-generated files.
- Tests: add multiple new valid test YAML files covering CatalysisDataset, Characterization (several), Reaction (two), Simulation (two), and Synthesis fixtures to exercise the new slot and other schema changes.

These changes implement product identification support for reactions, ensure equipment is usable on characterization records, and adapt the generated models and validation to the updated schema.
@github-actions

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://nfdi4cat.github.io/CoreMeta4Cat/pr-preview/pr-19/

Built to branch gh-pages at 2026-03-10 09:18 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@HendrikBorgelt
HendrikBorgelt merged commit 08ad4f6 into main Mar 10, 2026
6 checks passed
@HendrikBorgelt
HendrikBorgelt deleted the fix_testdata_issues branch June 11, 2026 18:44
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.

1 participant