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

FIX: read mesh settings #4923

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions pyaedt/modules/MeshIcepak.py
Original file line number Diff line number Diff line change
Expand Up @@ -1143,9 +1143,10 @@
meshop = GlobalMeshRegion(self._app)
else:
meshop = MeshRegion(self._app, None, ds)
meshop.manual_settings = dict_prop["UserSpecifiedSettings"]

Check warning on line 1146 in pyaedt/modules/MeshIcepak.py

View check run for this annotation

Codecov / codecov/patch

pyaedt/modules/MeshIcepak.py#L1146

Added line #L1146 was not covered by tests
for el in dict_prop:
if el in meshop.__dict__:
meshop.__dict__[el] = dict_prop[el]
if el in meshop.settings.keys():
meshop.settings[el] = dict_prop[el]

Check warning on line 1149 in pyaedt/modules/MeshIcepak.py

View check run for this annotation

Codecov / codecov/patch

pyaedt/modules/MeshIcepak.py#L1148-L1149

Added lines #L1148 - L1149 were not covered by tests
meshops.append(meshop)
else: # pragma: no cover
for ds in dp["MeshRegion"]["MeshSetup"]["MeshRegions"]:
Expand Down
Loading