Skip to content

Commit

Permalink
Update what's new
Browse files Browse the repository at this point in the history
  • Loading branch information
enekomartinmartinez committed Jul 17, 2024
1 parent c305f76 commit 0ea2db3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 18 deletions.
13 changes: 10 additions & 3 deletions docs/whats_new.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
What's New
==========
v3.14.1 (2024/07/XX)
v3.14.1 (2024/07/18)
--------------------
New Features
~~~~~~~~~~~~
Expand All @@ -15,8 +15,11 @@ Bug fixes
~~~~~~~~~
- Support for :py:mod:`numpy` 2. (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
- Allow multiple font styles in var names (:issue:`443`). (`@rogersamso <https://github.com/rogersamso>`_)
- Allow Vensims GET DIRECT/XLS SUBSCRIPT when lastcell is not a cell value (:issue:`443`). (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
- Allow Vensims GET DIRECT/XLS SUBSCRIPT defined with cell range names (:issue:`261`). (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
- Allow Vensims GET DIRECT/XLS SUBSCRIPT when lastcell is not a cell value (:issue:`443`). (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
- Allow Vensims GET DIRECT/XLS SUBSCRIPT defined with cell range names (:issue:`261`). (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
- Translate filenames as raw :py:class:`str` to made them work properly for Windows paths (:issue:`443`). (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
- Improve support for reading :py:class:`pysd.py_backend.external.External` from all the spreadsheet files includying those types from open software ('.odf', '.ods', '.odt'). (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
- Improve support for reading :py:class:`pysd.py_backend.external.External` from CSV, TAB and any other kind of text file. (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)

Documentation
~~~~~~~~~~~~~
Expand All @@ -28,6 +31,10 @@ Internal Changes
~~~~~~~~~~~~~~~~
- Fix CI tests. (`@rogersamso <https://github.com/rogersamso>`_)
- Run CI coverage only on ubuntu and lowest Python. (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
- Rename 'sheet' by 'tab' in :py:class:`pysd.py_backend.external.External` and related functions and classes to follow Vensim's nomenclature. (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
- Add error message when no subscripts are read from :py:class:`pysd.py_backend.external.ExtSubscript` during the model building. (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
- Add error message when a :py:class:`pysd.py_backend.external.External` cell/firstcell is interpreted as cellrange name but the input file is not a spreadsheet. (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
- Improve parsing of quoted arguments in the vensim translator for external lookups and external subscripts. (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)

v3.14.0 (2024/04/24)
--------------------
Expand Down
15 changes: 0 additions & 15 deletions tests/pytest_types/external/pytest_external.py
Original file line number Diff line number Diff line change
Expand Up @@ -3724,21 +3724,6 @@ def test_subscript_name_in_csv(self, _root):
prefix=prefix)


# TODO
def test_empty_subscript_range(self, _root):
"""
Test for an empty subscript range
"""
import pysd

file_name = "data/input.csv"
sheet = ""
firstcell = "A5"
lastcell = "5"
prefix = "sr"



class DownwardCompatibility():
"""
These tests are defined to make the external objects compatible
Expand Down

0 comments on commit 0ea2db3

Please sign in to comment.