aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorArun Isaac2022-06-08 15:14:48 +0530
committerArun Isaac2022-06-08 15:14:48 +0530
commit3ca6699ca92b08c9e3deac4ae9c8d16b448ec2d8 (patch)
treedd4c9cbefff07e45d38a8bcb2e63f7caeba524d0 /gn3
parent0193f2559a4a7c8940d0f28e2d8d98b3405f9f6b (diff)
downloadgenenetwork3-3ca6699ca92b08c9e3deac4ae9c8d16b448ec2d8.tar.gz
gn3: genodb: Decide on little endianness.
It has been decided that the genotype database will use little endianness wherever applicable. * gn3/genodb.py (Matrix.__init__): Remove TODO note to decide on endianness.
Diffstat (limited to 'gn3')
-rw-r--r--gn3/genodb.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/gn3/genodb.py b/gn3/genodb.py
index d8b906f..89a6509 100644
--- a/gn3/genodb.py
+++ b/gn3/genodb.py
@@ -22,7 +22,6 @@ class GenotypeDatabase:
class Matrix():
def __init__(self, db, hash):
- # TODO: Decide on endianness.
self.nrows = int.from_bytes(db.get_metadata(hash, 'nrows'), byteorder='little')
self.ncols = int.from_bytes(db.get_metadata(hash, 'ncols'), byteorder='little')
self.row_pointers = db.get(hash)