Skip to content

Commit

Permalink
Revert "Merge pull request biolab#6737 from PrimozGodec/fix-tests"
Browse files Browse the repository at this point in the history
This reverts commit bc3d58f, reversing
changes made to 6c99b83.
  • Loading branch information
ales-erjavec committed May 31, 2024
1 parent ce27d18 commit 41ae787
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 135 deletions.
9 changes: 0 additions & 9 deletions Orange/data/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@
from Orange.util import flatten


try:
# temporary fix for file not closed issue until openpyxl prepare release
from Orange.misc.openpyxl_patch import read_worksheets

openpyxl.reader.excel.ExcelReader.read_worksheets = read_worksheets
except: # pylint: disable=bare-except
pass


# Support values longer than 128K (i.e. text contents features)
csv.field_size_limit(100*1024*1024)

Expand Down
9 changes: 0 additions & 9 deletions Orange/misc/_distmatrix_xlsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@
import openpyxl


try:
# temporary fix for file not closed issue until openpyxl prepare release
from Orange.misc.openpyxl_patch import read_worksheets

openpyxl.reader.excel.ExcelReader.read_worksheets = read_worksheets
except: # pylint: disable=bare-except
pass


def read_matrix(filename, sheet_name=None):
sheet = _get_sheet(filename, sheet_name)
cells, empty_cols, empty_rows = _non_empty_cells(sheet)
Expand Down
100 changes: 0 additions & 100 deletions Orange/misc/openpyxl_patch.py

This file was deleted.

17 changes: 0 additions & 17 deletions Orange/misc/tests/test_openpyxl_patch.py

This file was deleted.

0 comments on commit 41ae787

Please sign in to comment.