Skip to content

Commit

Permalink
Version 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Belval committed Dec 19, 2023
1 parent 59d8db5 commit 884ddaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def _run(self, command):
setup(
# include data files
name="amazon-textract-textractor",
version="1.6.0",
version="1.6.1",
license="Apache 2.0",
description="A package to use AWS Textract services.",
url="https://github.com/aws-samples/amazon-textract-textractor",
Expand Down
6 changes: 1 addition & 5 deletions textractor/entities/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,10 +659,7 @@ def get_text_and_words(
if config.table_linearization_format == "markdown":
df = self.to_pandas(
use_columns=True,
checkbox_string=[
config.selection_element_selected,
config.selection_element_not_selected,
],
config=config
)
has_column = any([isinstance(c, str) for c in df.columns])
if config.table_remove_column_headers:
Expand Down Expand Up @@ -780,7 +777,6 @@ def _get_new_table_cells(rows, filtered_rows):
new_cell_siblings.append(new_cells_dict[(new_row, new_col)])

new_cells_dict[(cell_row, cell_col)].siblings = new_cell_siblings
new_cells_dict[(cell_row, cell_col)].words = cell_words
new_cells_dict[(cell_row, cell_col)].add_children(cell_children)

for sibling in new_cells_dict[(cell_row, cell_col)].siblings:
Expand Down

0 comments on commit 884ddaa

Please sign in to comment.