Refactor repository structure to match fz-Model template and integrate reference CATHARE script#2
Conversation
Co-authored-by: yannrichet-asnr <148193180+yannrichet-asnr@users.noreply.github.com>
Co-authored-by: yannrichet-asnr <148193180+yannrichet-asnr@users.noreply.github.com>
|
@copilot go closer to template fz-Model: most .md files are not needed, CI missing, notebook missing, subdir examples/cathare not needed. Do not include mock anywhre, just assume Cathare code is available. |
…examples, remove mock references Co-authored-by: yannrichet-asnr <148193180+yannrichet-asnr@users.noreply.github.com>
Done in commit b7cef3f: ✓ Removed CHANGELOG.md and PORTING_SUMMARY.md (only README.md remains) All plugin structure tests pass. |
|
@copilot use this cathare script, and https://github.com/Funz/plugin-Cathare/blob/master/src/main/scripts/Cathare.sh and check taht output is well parsed using https://github.com/Funz/plugin-Cathare/tree/master/src/test/cases/CNV22/output example (to also import in examples/) |
Co-authored-by: yannrichet-asnr <148193180+yannrichet-asnr@users.noreply.github.com>
Done in commit bc73995: ✓ Updated Cathare.sh based on reference script from plugin-Cathare (supports full reader → cathar → postpro workflow) All plugin structure tests pass. |
… code, fix indentation Co-authored-by: yannrichet-asnr <148193180+yannrichet-asnr@users.noreply.github.com>
Aligns fz-cathare with the standard fz-Model plugin template structure for consistency across the Funz plugin ecosystem. Integrates the reference CATHARE calculator script from the original plugin-Cathare project and adds complete CNV22 test case example.
Structural Changes
examples/input.txtwith parametric variable examples (flattened structure)Cathare.shexecutable script based on reference implementation; renamedLocalhost_Cathare.json→localhost_Cathare.jsontest_plugin.pyfor structure validationexample_usage.ipynbJupyter notebook with interactive examples.github/workflows/ci.ymlwith test, lint, and docs jobsRemoved
examples/directoryCathare.sh; now uses production workflowUpdated Components
sys.pathworkarounds, updated paths to referenceexamples/CNV22/outputresults/,*.out,*.msg,PID,.fz/tmp/CATHARE Calculator Script
The
Cathare.shscript is based on the original plugin-Cathare implementation and includes:CATHARE_HOME(defaults to/opt/CATHARE2_V25_3_MOD931)CNV22 Example
Complete CATHARE test case in
examples/CNV22/:Template Alignment
All existing test data in
tests/CNV22/and FORT07 parsing functionality preserved unchanged.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.