From cff7f8bebb0dc8af258edb07afad30118663da15 Mon Sep 17 00:00:00 2001 From: Katherine A Miller Date: Tue, 6 Nov 2018 22:18:50 -0500 Subject: [PATCH] Update error correction --- .gitignore/error correction | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitignore/error correction b/.gitignore/error correction index bee4f6e..ffe059c 100644 --- a/.gitignore/error correction +++ b/.gitignore/error correction @@ -75,3 +75,10 @@ def appendParityToFrame(frame, parity): frame1 = appendParityColumn(frame, parity) frame2 = appendParityRow(frame1, parity) return frame2 + +def appendParityToFrames(frames, parity): + newFrames = [] + for frame in frames: + newFrame = appendParityToFrame(frame, parity) + newFrames.append(newFrame) + return newFrames