nschloe/meshio

[BUG] The function remove_orphaned_nodes has disappeared from the mesh class

baloe opened this issue · 10 comments

baloe commented

Describe the bug
I used to be able to run mesh.remove_orphaned_nodes() (formerly mesh.prune()) on a mesh class object, but this now raises an AttributeError.
I am a bit puzzled, because I don't see any reference to remove_orphaned_nodes being removed in the changelog.

To Reproduce
(example from from #993)

import meshio
mesh=meshio.read('t3.msh') # created by https://gitlab.onelab.info/gmsh/gmsh/-/raw/master/tutorials/python/t3.py
mesh.remove_orphaned_nodes()
mesh.write('t3_processed.vtu')

Diagnose

conda list:

# Name                    Version                   Build  Channel
meshio                    5.3.0              pyhd8ed1ab_0    conda-forge

pip freeze | grep meshio:

meshio @ file:///home/conda/feedstock_root/build_artifacts/meshio_1643072227861/work

No issue with meshio 4.4.6.

I've removed all mesh manipulation functions from meshio. Will release a separate package for that soon.

baloe commented

Okay, cool. Which one is the latest version that includes mesh manipulation?

baloe commented

< 5.3.0 I guess f0ea108

I guess. Problem solved?

baloe commented

No, the issue persists with 5.2.6, 5.0.5, going back still ...

baloe commented

5.0.0 is the one

Thanks for looking it up.

baloe commented

I've removed all mesh manipulation functions from meshio. Will release a separate package for that soon.

Is it out, yet? Can I find it?

I've removed all mesh manipulation functions from meshio. Will release a separate package for that soon.

Is it out, yet? Can I find it?

I am looking forward to this package, too.

baloe commented

Any news?