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

Missing unit after parsing MATML #69

Open
koubaa opened this issue Apr 7, 2023 · 0 comments
Open

Missing unit after parsing MATML #69

koubaa opened this issue Apr 7, 2023 · 0 comments
Assignees

Comments

@koubaa
Copy link
Contributor

koubaa commented Apr 7, 2023

Material data has a unit type (like density) and then a unit (like kg m^-3)

I have a MATML file which contains:

<ParameterDetails id="pa7">
  <Name>Density</Name>
  <Units name="Density">
    <Unit>
      <Name>kg</Name>
    </Unit>
    <Unit power="-3">
      <Name>m</Name>
    </Unit>
  </Units>
</ParameterDetails>

The matml parser only pulls out the name of the unit, not the full unit string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants