Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the handling of missing materials #474

Merged
merged 3 commits into from
Jun 17, 2024
Merged

Conversation

roosre
Copy link
Collaborator

@roosre roosre commented Jun 17, 2024

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.

@roosre roosre enabled auto-merge (squash) June 17, 2024 11:44
@codecov-commenter
Copy link

codecov-commenter commented Jun 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@roosre roosre merged commit 0152bd2 into main Jun 17, 2024
25 checks passed
@roosre roosre deleted the bug/missing_materials branch June 17, 2024 12:09
@roosre roosre added the bug Something isn't working label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants