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

pickle support #4

Open
superbobry opened this issue Jul 10, 2013 · 0 comments
Open

pickle support #4

superbobry opened this issue Jul 10, 2013 · 0 comments

Comments

@superbobry
Copy link

Hello, cyvcf seems to have the same problem as jamescasbon/PyVCF#108:

>>> import cyvcf
>>> import cPickle
>>> f = open(path)
>>> r = cyvcf.Reader(f)
>>> cPickle.dumps(next(r))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/user/.virtualenvs/bio-env/lib64/python2.6/copy_reg.py", line 70, in _reduce_ex
    raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle _Record objects
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

No branches or pull requests

1 participant