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
round-tripping a med file results in losing group names (tags) #1050
Comments
Added. |
Hi @nschloe I have provided a commit for this issue here; I was thinking if you wanted to review before the PR. I have the impression that the dictionaries that hold the tag values and the corresponding names were initially named However, they were never updated in the I have tested it now and everything looks to work fine. |
Indeed, I think that might have happened. Just PR that, it's always easier to reason there. (No need for "pre-review", we can always close the PR without merging if we come up with something better in the process.) |
I would like to make sure that I can round-trip (read, modify and write) a med file without losing information.
Doing some tests I see that the names of the point tags and cell tags are not written (checked with older versions as well).
I am using this simple snippet
With the file attached for example I can get from the original file the correct point and cell tags
but with the same med file written with meshio these tag dictionaries are empty, although the tag assignments to the elements are correctly done.
I am investigating, although not of high priority right now, but I would like to have it fixed soon.
PS: Nico can we have a
med
label for the issues? :)reinforcement.zip
The text was updated successfully, but these errors were encountered: