From 3ca6699ca92b08c9e3deac4ae9c8d16b448ec2d8 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 8 Jun 2022 15:14:48 +0530 Subject: 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. --- gn3/genodb.py | 1 - 1 file changed, 1 deletion(-) 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) -- cgit v1.2.3