Skip to content

Commit 0ea2db3

Browse files
Update what's new
1 parent c305f76 commit 0ea2db3

File tree

2 files changed

+10
-18
lines changed

2 files changed

+10
-18
lines changed

docs/whats_new.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
What's New
22
==========
3-
v3.14.1 (2024/07/XX)
3+
v3.14.1 (2024/07/18)
44
--------------------
55
New Features
66
~~~~~~~~~~~~
@@ -15,8 +15,11 @@ Bug fixes
1515
~~~~~~~~~
1616
- Support for :py:mod:`numpy` 2. (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
1717
- Allow multiple font styles in var names (:issue:`443`). (`@rogersamso <https://github.com/rogersamso>`_)
18-
- Allow Vensims GET DIRECT/XLS SUBSCRIPT when lastcell is not a cell value (:issue:`443`). (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
19-
- Allow Vensims GET DIRECT/XLS SUBSCRIPT defined with cell range names (:issue:`261`). (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
18+
- Allow Vensims GET DIRECT/XLS SUBSCRIPT when lastcell is not a cell value (:issue:`443`). (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
19+
- Allow Vensims GET DIRECT/XLS SUBSCRIPT defined with cell range names (:issue:`261`). (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
20+
- Translate filenames as raw :py:class:`str` to made them work properly for Windows paths (:issue:`443`). (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
21+
- 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>`_)
22+
- 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>`_)
2023

2124
Documentation
2225
~~~~~~~~~~~~~
@@ -28,6 +31,10 @@ Internal Changes
2831
~~~~~~~~~~~~~~~~
2932
- Fix CI tests. (`@rogersamso <https://github.com/rogersamso>`_)
3033
- Run CI coverage only on ubuntu and lowest Python. (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
34+
- 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>`_)
35+
- 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>`_)
36+
- 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>`_)
37+
- Improve parsing of quoted arguments in the vensim translator for external lookups and external subscripts. (`@enekomartinmartinez <https://github.com/enekomartinmartinez>`_)
3138

3239
v3.14.0 (2024/04/24)
3340
--------------------

tests/pytest_types/external/pytest_external.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3724,21 +3724,6 @@ def test_subscript_name_in_csv(self, _root):
37243724
prefix=prefix)
37253725

37263726

3727-
# TODO
3728-
def test_empty_subscript_range(self, _root):
3729-
"""
3730-
Test for an empty subscript range
3731-
"""
3732-
import pysd
3733-
3734-
file_name = "data/input.csv"
3735-
sheet = ""
3736-
firstcell = "A5"
3737-
lastcell = "5"
3738-
prefix = "sr"
3739-
3740-
3741-
37423727
class DownwardCompatibility():
37433728
"""
37443729
These tests are defined to make the external objects compatible

0 commit comments

Comments
 (0)