From c709c7fa5d43d5d26254a9e98cf23807c7f0b9eb Mon Sep 17 00:00:00 2001 From: Ruge Li Date: Mon, 22 Jul 2024 14:41:14 -0700 Subject: [PATCH] fix text list --- cellpack/autopack/writers/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cellpack/autopack/writers/__init__.py b/cellpack/autopack/writers/__init__.py index db69aafd..c1f42345 100644 --- a/cellpack/autopack/writers/__init__.py +++ b/cellpack/autopack/writers/__init__.py @@ -472,7 +472,7 @@ def add_table(self, header, table, text_align="center"): self.report_md.new_table( columns=table.shape[1], rows=table.shape[0], - text=self.text_list, + text=text_list, text_align=text_align, ) @@ -493,7 +493,7 @@ def add_table_from_csv(self, header, filepath, text_align="center"): self.report_md.new_table( columns=table.shape[1], rows=table.shape[0], - text=self.text_list, + text=text_list, text_align=text_align, )