Closed cpalfonso closed 2 weeks ago
Maybe this is because the gplately.pygplates.FeatureCollection did not implement the getstate and setstate methods?
In fact, John told me that pygplates will support pickle very soon. In the near future, the gplately.pygplates may not be needed anymore.
Maybe this is because the gplately.pygplates.FeatureCollection did not implement the getstate and setstate methods?
In fact, John told me that pygplates will support pickle very soon. In the near future, the gplately.pygplates may not be needed anymore.
Just realised the getstate and setstate was implemented in PlateReconstruction class. Maybe better in FeatureCollection class? Anyway, it does not matter much since John will handle the pickle very soon.
If the input to
gpml._load_FeatureCollection
is one or more filenames, then thefilenames
attribute is never actually assigned (see lines 264-270 below): https://github.com/GPlates/gplately/blob/c5b0d1c075961643cb518ec227a896e6556b84de/gplately/gpml.py#L258-L274This leads to several issues, most notably that attempting to pickle
PlateReconstruction
results in a reconstruction with no features:This produces the following output: