From 6beb667eb1eef8211a6ec9d8e96bc8859ed687fe Mon Sep 17 00:00:00 2001
From: Yngve Levinsen <yngve.levinsen@ess.eu>
Date: Tue, 16 Jun 2020 14:31:03 +0200
Subject: [PATCH] Very confused by this, this would be the skip I would
 normally expect for density file v11, but I have earlier corrected it. Now it
 was not working with our example file so I corrected back.

---
 ess/TraceWin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ess/TraceWin.py b/ess/TraceWin.py
index 2460c50..445f812 100644
--- a/ess/TraceWin.py
+++ b/ess/TraceWin.py
@@ -718,7 +718,7 @@ class density_file:
         elif self.version == 10:
             numpy.fromfile(self.fin, dtype=numpy.int16, count=12408 // 2)
         elif self.version == 11:
-            numpy.fromfile(self.fin, dtype=numpy.int16, count=8816 // 2)
+            numpy.fromfile(self.fin, dtype=numpy.int16, count=12416 // 2)
         else:
             raise TypeError(f"It is not possible to read {self.filename}")
 
-- 
GitLab