sixty-north / segpy

A Python package for reading and writing SEG Y files.
Other
102 stars 54 forks source link

Looking for AttributeErrors when cache pickling fails. #71

Closed abingham closed 6 years ago

abingham commented 6 years ago

An AttributeError can happen when, for example, you try to pickle a lambda. I found this during some test development, and the associated tests will be part of a larger PR focused on tests for reader.py.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.04%) to 86.16% when pulling 58eec6ae6864efd7727212d1994b8454d5f1357f on abingham:pickle-error-handling-fix into 0e649a6512fd8b94d658e813a879298120a3e2e7 on sixty-north:master.

abingham commented 6 years ago

There's an associated test in the works (part of a larger PR).