ansys / pyacp

Python Client for Ansys Composite PrepPost
https://acp.docs.pyansys.com
MIT License
5 stars 1 forks source link

Workflow: allow loading Mechanical H5, update 'create input file' doc #689

Open greschd opened 2 days ago

greschd commented 2 days ago

Allow loading the Mechanical to ACP H5 transfer file in the workflow class, by adding a new classmethod 'from_mechanical_h5_file'.

Update the 'create input file' how-to in the documentation to reflect the fact that Mechanical H5 file input is also supported.

Closes #681

codecov[bot] commented 2 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.51%. Comparing base (b77057a) to head (87cefbc).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #689 +/- ## ======================================= Coverage 94.51% 94.51% ======================================= Files 108 108 Lines 5739 5742 +3 ======================================= + Hits 5424 5427 +3 Misses 315 315 ``` | [Flag](https://app.codecov.io/gh/ansys/pyacp/pull/689/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansys) | Coverage Δ | | |---|---|---| | [minimum-deps](https://app.codecov.io/gh/ansys/pyacp/pull/689/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansys) | `93.25% <100.00%> (+<0.01%)` | :arrow_up: | | [python-3.10](https://app.codecov.io/gh/ansys/pyacp/pull/689/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansys) | `94.20% <100.00%> (-0.11%)` | :arrow_down: | | [python-3.11](https://app.codecov.io/gh/ansys/pyacp/pull/689/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansys) | `94.23% <100.00%> (+<0.01%)` | :arrow_up: | | [python-3.12](https://app.codecov.io/gh/ansys/pyacp/pull/689/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansys) | `94.33% <100.00%> (-0.11%)` | :arrow_down: | | [server-2024R2](https://app.codecov.io/gh/ansys/pyacp/pull/689/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansys) | `90.96% <100.00%> (+<0.01%)` | :arrow_up: | | [server-2025R1](https://app.codecov.io/gh/ansys/pyacp/pull/689/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansys) | `94.13% <100.00%> (-0.11%)` | :arrow_down: | | [server-2025R2](https://app.codecov.io/gh/ansys/pyacp/pull/689/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansys) | `94.13% <100.00%> (-0.11%)` | :arrow_down: | | [server-latest](https://app.codecov.io/gh/ansys/pyacp/pull/689/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansys) | `94.30% <100.00%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansys#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: