about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gn3/genodb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/genodb.py b/gn3/genodb.py
index 3f7c71d..28d6842 100644
--- a/gn3/genodb.py
+++ b/gn3/genodb.py
@@ -55,7 +55,7 @@ def matrix(db):
                                      (nrows, ncols)),
                           np.reshape(np.frombuffer(read_optimized_blob[nrows*ncols :],
                                                    dtype=np.uint8),
-                                     (nrows, ncols)))
+                                     (ncols, nrows)))
 
 def nparray(matrix):
     '''Get matrix as a 2D numpy array.'''