The diffpy.structure maintainers renamed a lot of methods in yesterday's 3.4.0: https://github.com/diffpy/diffpy.structure/releases/tag/3.4.0. We should go through and call all the new methods instead of the old ones.
I suggest we add a private helper module for handling diffpy.structure where we import the correct functions based on the version. I've done this for RosettaSciIO imports in kikuchipy: https://github.com/pyxem/kikuchipy/blob/develop/src/kikuchipy/_utils/rosettasciio_utils.py.
The diffpy.structure maintainers renamed a lot of methods in yesterday's 3.4.0: https://github.com/diffpy/diffpy.structure/releases/tag/3.4.0. We should go through and call all the new methods instead of the old ones.
I suggest we add a private helper module for handling diffpy.structure where we import the correct functions based on the version. I've done this for RosettaSciIO imports in kikuchipy: https://github.com/pyxem/kikuchipy/blob/develop/src/kikuchipy/_utils/rosettasciio_utils.py.