In branch Issue161
-
One General Template for Reverse Workflow.
Version 2 now uses a single generic Jinja template that dynamically renders the entire input dictionary. No more per-node templates in v2.
-
Use workflow["version"] which set once in the full workflow object. Avoids per-node version checks.
-
Fixed Template Detection in v1 (Major Bug).
JinjaTransform no longer assumes a template field per node. The template path is now inferred from the node’s type.
-
Removed Solver-Specific Logic.
-
Removed Hardcoded Paths.
-
Removed Context Key Promotion.
Due to how PyFoam parses OpenFOAM files, there are some output format differences in the regenerated files:
1 on/off → True/False (Python-style booleans)
2 (1 2 3) → [1, 2, 3] (converted to Python lists)
In branch Issue161
One General Template for Reverse Workflow. Version 2 now uses a single generic Jinja template that dynamically renders the entire input dictionary. No more per-node templates in v2.
Use workflow["version"] which set once in the full workflow object. Avoids per-node version checks.
Fixed Template Detection in v1 (Major Bug). JinjaTransform no longer assumes a template field per node. The template path is now inferred from the node’s type.
Removed Solver-Specific Logic.
Removed Hardcoded Paths.
Removed Context Key Promotion.
Due to how PyFoam parses OpenFOAM files, there are some output format differences in the regenerated files:
1 on/off → True/False (Python-style booleans)
2 (1 2 3) → [1, 2, 3] (converted to Python lists)