From b938dbbd7c7603a0b474819dfe6f983c09327d2f Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Mon, 29 Jun 2020 15:52:20 +0200 Subject: [PATCH] Wrong argument --- scripts/BinaryBufferReader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/BinaryBufferReader.py b/scripts/BinaryBufferReader.py index e29e9a1..610fe11 100644 --- a/scripts/BinaryBufferReader.py +++ b/scripts/BinaryBufferReader.py @@ -109,7 +109,7 @@ class BinaryBufferReader(object): metadata["is_good_frame"] = False data_shape = [self.n_modules * MODULE_Y_SIZE, MODULE_X_SIZE] - return metadata, data.view("uint16").reshape(shape=data_shape) + return metadata, data.view("uint16").reshape(data_shape) def get_file_frame_index(pulse_id):