sixty-north / segpy

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

Fixed bug in max_num_trace_samples for zero traces. #62

Closed abingham closed 6 years ago

abingham commented 6 years ago

We were calling max() with a potentially empty sequence, resulting in a ValueError.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 66.755% when pulling 0c4f7fbb00895f916de76be6c05e32e2051acccb on abingham:fix-max_num_trace_samples into 57035949daaa7021ec532b17e556cc1f2dc0205c on sixty-north:master.