Skip to content

[Bug]: Inconsistency between mpr.materials.piezoelectric.search() and mpr.materials.elasticity.search() #988

@fxcoudert

Description

@fxcoudert

Code snippet

What happened?

Calling mpr.materials.elasticity.search() returns a list of documents where each entry has a structure component, while mpr.materials.piezoelectric.search() does not.

The rest of the data in ElasticityDoc and PiezoelectricDoc are pretty much in line, but not structure. This is really annoying when querying piezo tensors.

Version

0.45.7

Which OS?

  • MacOS
  • Windows
  • Linux

Log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions