1. 01 Dec, 2017 1 commit
    • Levi Naden's avatar
      Fix Bond pickling in Python 2.7 · f8624c4e
      Levi Naden authored
      The pickle round trip for the Bond object does not preserve the `type` and `order` parameters in Python 2.7.
      
      Near as I can tell, its because the parent `namedtuple` already has a __getstate__ method, so the default
      of returning the `__dict__` is never given, so `__setstate__` is not called (as default). This leads to pickle
       restoring the state, but never invoking the `__new__` statement, resulting in `type` and `order` being
       lost.
      
       This PR fixes this problem in python 2.7, without breaking python 3.x versions.
      
       Related mdtraj/mdtraj#1308
      f8624c4e
  2. 30 Nov, 2017 6 commits
  3. 29 Nov, 2017 4 commits
  4. 28 Nov, 2017 1 commit
  5. 22 Nov, 2017 4 commits
  6. 20 Nov, 2017 3 commits
  7. 19 Nov, 2017 2 commits
  8. 14 Nov, 2017 1 commit
  9. 12 Nov, 2017 3 commits
  10. 10 Nov, 2017 1 commit
  11. 07 Nov, 2017 2 commits
  12. 04 Nov, 2017 1 commit
  13. 03 Nov, 2017 1 commit
  14. 07 Oct, 2017 2 commits
  15. 26 Sep, 2017 4 commits
  16. 25 Sep, 2017 3 commits
  17. 24 Sep, 2017 1 commit