From 303e94768495f369587dba8ae3688f8b22d989c7 Mon Sep 17 00:00:00 2001 From: Katherine A Miller Date: Thu, 8 Nov 2018 20:38:47 -0500 Subject: [PATCH] Update error correction --- .gitignore/error correction | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitignore/error correction b/.gitignore/error correction index 2f004fd..994168e 100644 --- a/.gitignore/error correction +++ b/.gitignore/error correction @@ -58,6 +58,7 @@ def string2frames(string, fill): def appendParityColumn(frame, parity): newFrame = [] for n in frame: + n = [int(k) for k in n] F1 = e.appendParity(n, parity) newFrame.append(F1) return newFrame @@ -104,6 +105,3 @@ def splitFrame(frame): parityColumn.append(row[8]) parityRow = frame[8] return payload, parityColumn, parityRow - - -