GPlates / gplately

GPlately is a Python package to interrogate tectonic plate reconstructions.
https://gplates.github.io/gplately/
GNU General Public License v2.0
56 stars 13 forks source link

Allow RotationModel constructor to copy a model #181

Closed cpalfonso closed 4 months ago

cpalfonso commented 4 months ago

Modify gplately.pygplates.RotationModel constructor so it accepts another instance of pygplates.RotationModel or gplately.pygplates.RotatioModel as input. Also add a test to test_1_reconstructions.py (test_rotation_model_copy) to cover this functionality.

Would fix #180