ansys / pydpf-composites

A Python wrapper for Ansys DPF for the post-processing of composite structures.
https://composites.dpf.docs.pyansys.com
MIT License
8 stars 1 forks source link

Improve the handling of missing materials #474

Closed roosre closed 4 months ago

roosre commented 4 months ago

ADO BUG 1060154 It could happen that Mechanical adds materials to the MAPDL model. For instance for flexible remote points. These materials are not present in the ENGD file. Instead of throwing an error, empty materials are added to the material provider if the new input pint "skip_missing_materials" is equals True. The failure operator will throw an error because of missing properties if such a material is used during the computation.

codecov-commenter commented 4 months ago

Codecov Report

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

Project coverage is 92.21%. Comparing base (e6cea95) to head (f775105).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #474 +/- ## ======================================= Coverage 92.21% 92.21% ======================================= Files 50 50 Lines 3351 3352 +1 ======================================= + Hits 3090 3091 +1 Misses 261 261 ```

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