Skip to content

Commit

Permalink
Imporved test script for actions in GIT
Browse files Browse the repository at this point in the history
Change Log updated
  • Loading branch information
BR1py committed Jul 4, 2024
1 parent be33100 commit 19ea5bb
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 27 deletions.
45 changes: 19 additions & 26 deletions docs/docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
.. _changelog:

************************************
Version 1.1.3
Change Log
************************************



Version 1.1.3
===============

Bugfix added missing folder in package

************************************
Version 1.1.2
************************************
===============

New iteration features:

Expand All @@ -18,9 +21,8 @@ Beside this the inheritence of the iTree class as a super class of another objec

The test suite is enlarged.

************************************
Version 1.0.3
************************************
===============

This version contains minor changes related to comments and the test setup.

Expand All @@ -31,16 +33,15 @@ We appended a new version of blist which can be used in python 3.10 and 3.11 env

Issues #21,#22 solved.

************************************
Version 1.0.5
************************************
===============

Minor bugfix (escapes).

And correct issues related wrong commit in 1.0.3

************************************
Version 1.0.3
************************************
===============

This version contains minor changes related to comments and the test setup.

Expand All @@ -51,9 +52,8 @@ We appended a new version of blist which can be used in python 3.10 and 3.11 env

Issues #21,#22 solved.

************************************
Version 1.0.1
************************************
===============

Full released

Expand Down Expand Up @@ -108,9 +108,8 @@ The MIT licence was extended by a "human protect patch".
To symbolize the stability and also the final fix of the interface we decided to create the first full released version.
The testsuite is largely expanded for this step.

************************************
Version 0.8.2
************************************
===============

We reworked the itertree data module so that iData class behaves much better like a dict. All overloaded methods
are improved to match the dict interface. Also `iTDataModel` is changed and is now a class that must be overloaded.
Expand Down Expand Up @@ -139,37 +138,33 @@ official 1.0.0 release.
Still Beta SW -> but release candidate!


************************************
Version 0.7.3
************************************
===============

Bugfixes in repr() and render()

Extended examples

Still Beta SW -> but release candidate!

************************************
Version 0.7.2
************************************
===============

Improved Interval class (dynamic limits in all levels)

Adapted some tests and the documentation

Still Beta SW -> but release candidate!

************************************
Version 0.7.1
************************************
===============

Bigger bugfix on 0.7.0 which was really not well tested!

Still Beta SW -> but release candidate!

************************************
Version 0.7.0
************************************
===============

Recursive functions are rewritten to use an iterative approach (recursion limit exception should be avoided)

Expand All @@ -183,9 +178,8 @@ Examples regarding data models added

Still Beta SW -> but release candidate!

************************************
Version 0.6.0
************************************
===============

Improved interface and performance

Expand All @@ -198,9 +192,8 @@ Examples still missing
Beta SW!


************************************
Version 0.5.0
************************************
===============

First released version

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
:hidden:

docs/docs
docs/changelog
docs/tutorial
docs/API
docs/examples
docs/comparison
docs/background
docs/changelog
docs/licence

.. _intro:
Expand Down
14 changes: 14 additions & 0 deletions tests/test_itertree_base_old.py
Original file line number Diff line number Diff line change
Expand Up @@ -825,13 +825,27 @@ def test10_std_save_load(self):
target_path = root_data_path + '/out.itz'
target_path2 = root_data_path + '/out.itr'
target_path3 = root_data_path + '/out2.itz'
# to find a valid dir for GITHUB action we search a bit:
if not os.path.exists(root_data_path):
os.makedirs(root_data_path)
time.sleep(1)
if not os.path.exists(root_data_path):
root_data_path=os.path.dirname(root_data_path)
if not os.path.exists(root_data_path):
os.makedirs(root_data_path)
time.sleep(1)
if not os.path.exists(root_data_path):
root_data_path = os.path.dirname(root_data_path)
if not os.path.exists(root_data_path):
os.makedirs(root_data_path)

print('Outputfile: %s' % os.path.abspath(target_path))

# append some special dat items:
if np is not None:
root += iTree('NUMPY', value={'myarray': np.array([1.5, 4, 3.6, 467])})
root += iTree('OD', value={'od': collections.OrderedDict([('C', 'c'), ('A', 'a'), ('B', 'b')])})

root.dump(target_path, overwrite=True)

root.dump(target_path2, pack=False, overwrite=True)
Expand Down

0 comments on commit 19ea5bb

Please sign in to comment.