diff --git a/gplately/reconstruction.py b/gplately/reconstruction.py index 0327d98f..ff1305b1 100644 --- a/gplately/reconstruction.py +++ b/gplately/reconstruction.py @@ -1884,12 +1884,12 @@ def save(self, filename): df = self._get_dataframe() df.to_xml(filename, index=False) - elif filename.endswith(".gpml") or filename.endswith(".gpmlz"): + elif filename.endswith(".gpml") or filename.endswith(".gpmlz") or filename.endswith(".shp"): self.FeatureCollection.write(filename) else: raise ValueError( - "Cannot save to specified file type. Use csv, gpml, or xls file extension." + "Cannot save to specified file type. Use csv, gpml, shp or xls file extension." ) def rotate_reference_frames(