Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding pickle support by using serialization #709

Merged
merged 5 commits into from
Mar 9, 2021

Conversation

ayushbaid
Copy link
Contributor

Adding pickle support by using serialization

d37b8a972 Merge pull request #31 from ayushbaid/feature/pickle
efd4a0fb4 removing tab
42fd231f3 adding newline for test compare
0aa316150 removing extra brackets
7fe1d7d0f adding pickle code to expected file
9c3ab7a8b fixing string format for new classname
2f89284e8 moving pickle support with the serialization code
5a8abc916 adding pickle support for select classes using serialization

git-subtree-dir: wrap
git-subtree-split: d37b8a972f6f3aa99a657831102fc22a73b59f21
@ayushbaid ayushbaid changed the title feature/pickle-support Adding pickle support by using serialization Mar 8, 2021
@ayushbaid ayushbaid requested a review from ProfFan March 8, 2021 20:01
@ayushbaid
Copy link
Contributor Author

This PR just has the wrap code pulled in. The build fails because there are GTSAM classes which do not have a public constructor with no arguments. Example: gtsam::LinearContainerFactor

@ProfFan
Copy link
Collaborator

ProfFan commented Mar 8, 2021

Oh. Maybe then you need to update wrap to include a mechanism like serialize() marker, for example a pickle() marker.

10e1efd6f Merge pull request #32 from ayushbaid/feature/pickle
55d5d7fbe ignoring pickle in matlab wrap
8d70c7fe2 adding newlines
dee8aaee3 adding markers for pickling
46fc45d82 separating out the marker for pickle

git-subtree-dir: wrap
git-subtree-split: 10e1efd6f25f76b774868b3da33cb3954008b233
@ProfFan
Copy link
Collaborator

ProfFan commented Mar 9, 2021

This is great! Thanks @ayushbaid !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants