WilliamHPNielsen / limnos

Other
0 stars 0 forks source link

Trails serialization #12

Open WilliamHPNielsen opened 3 years ago

WilliamHPNielsen commented 3 years ago

This draft PR [edit: oh, shoot, I meant it to be draft but clicked the wrong button] is to aid the discussion in #9.

Here, a serialization and deserialization of the Trails object itself is implemented. Note that this PR contains the contents of #10 (but I think #10 would be good to get in irrespective of what you think of this PR), and also that testing of these methods would be a lot easier with an implementation of __eq__, which hinges on #11 getting a thumbs up or down.

@jeppetrost @petterbejo