[segyio] 74/376: Fixed a bug related to create where format was fetched from another file
Jørgen Kvalsvik
jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
jokva-guest pushed a commit to branch debian
in repository segyio.
commit 6dd8e4b27d25fd1065978ace35a76b3a1ab19b4f
Author: Jean-Paul Balabanian <jepebe at users.noreply.github.com>
Date: Tue Oct 25 15:30:38 2016 +0200
Fixed a bug related to create where format was fetched from another file
---
python/segyio/create.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/segyio/create.py b/python/segyio/create.py
index 4dcf41b..5f65ba5 100644
--- a/python/segyio/create.py
+++ b/python/segyio/create.py
@@ -103,7 +103,7 @@ def create(filename, spec):
bin_hdr_sz = segyio._segyio.binheader_size()
f._tr0 = txt_hdr_sz + bin_hdr_sz + (spec.ext_headers * txt_hdr_sz)
f._sorting = spec.sorting
- f._fmt = spec.format
+ f._fmt = int(spec.format)
f._offsets = spec.offsets
f._tracecount = len(spec.ilines) * len(spec.xlines) * spec.offsets
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git
More information about the debian-science-commits
mailing list