Skip to content

Commit

Permalink
Fixed getSheets() - released to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
russellmcdonell committed Feb 19, 2022
1 parent 8413625 commit 1176461
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions VERSIONS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
### 1.3.13 - Fixed another bug - getSheets() - released to PyPI
* Error in headings with validity and annotation
### 1.3.12 - Fixed bug in getSheetsn() - release to PyPI
* getSheets() was not returning the first sheet
### 1.3.11 - Fixed bug in getDecision() - release to PyPI
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

# The full version, including alpha/beta/rc tags
version = '1.3'
release = '1.3.12'
release = '1.3.13'

master_doc = 'index'

Expand Down
2 changes: 1 addition & 1 deletion pyDMNrules.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pyDMNrules
Version: 1.3.12
Version: 1.3.13
Summary: An implementation of DMN in Python. DMN rules are read from an Excel workbook
Home-page: https://github.com/russellmcdonell/pyDMNrules
Author: Russell McDonell
Expand Down
4 changes: 2 additions & 2 deletions pyDMNrules/DMNrules.py
Original file line number Diff line number Diff line change
Expand Up @@ -2692,9 +2692,9 @@ def getSheets(self):
else:
sheets[table] += '<td style="{};{}">{}</td>'.format(doubleLeft, doubleBottom, thisValidity)
elif not haveAnnotation and (i == (len(self.decisionTables[table]['outputColumns']) - 1)):
sheets[table] += '<td style="{};{};{}">{}</td>'.format(singleLeft, doubleLeft, singleRight, thisValidity)
sheets[table] += '<td style="{};{};{}">{}</td>'.format(singleLeft, doubleBottom, singleRight, thisValidity)
else:
sheets[table] += '<td style="{};{}">{}</td>'.format(singleLeft, doubleLeft, thisValidity)
sheets[table] += '<td style="{};{}">{}</td>'.format(singleLeft, doubleBottom, thisValidity)
if haveAnnotation:
for i in range(len(self.decisionTables[table]['annotation'])):
if i == 0:
Expand Down
Binary file modified pyDMNrules/__pycache__/DMNrules.cpython-39.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name='pyDMNrules',
version='1.3.12',
version='1.3.13',
author='Russell McDonell',
author_email='russell.mcdonell@c-cost.com',
description='An implementation of DMN in Python. DMN rules are read from an Excel workbook',
Expand Down

0 comments on commit 1176461

Please sign in to comment.