Skip to content

Commit

Permalink
Fixed: Fixed namespace scope of the library. Fixed README. Changed: B…
Browse files Browse the repository at this point in the history
…umped the version.
  • Loading branch information
AAnzel committed Feb 10, 2023
1 parent 1c5a930 commit f189632
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 204 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ Script can be automatically generated and downloaded again from here [https://es
|---|---|
|[Source/](https://github.com/AAnzel/Polar-Diagrams-for-Model-Comparison/tree/master/Source)|contains all source scripts.
|[Source/main.ipynb](https://github.com/AAnzel/Polar-Diagrams-for-Model-Comparison/tree/master/Source/main.ipynb)|contains the IPython (jupyter) notebook that demonstrates the library using multiple datasets. This notebook reproduces all of the results we presented in our paper.
|[Source/polar_diagrams/](https://github.com/AAnzel/Polar-Diagrams-for-Model-Comparison/tree/master/Source/polar_diagrams/)|contains the source code of our library.
|[Source/polar_diagrams/src/polar_diagrams.py](https://github.com/AAnzel/Polar-Diagrams-for-Model-Comparison/tree/master/Source/polar_diagrams/src/polar_diagrams.py)|contains the source code that imports the data, modifies it, calculates statistical and information theory properties, and builds diagrams.
|[Source/polar_diagrams/](https://github.com/AAnzel/Polar-Diagrams-for-Model-Comparison/tree/master/Source/polar_diagrams/)|contains the root source code directory of our library.
|[Source/polar_diagrams/src/polar_diagrams/polar_diagrams.py](https://github.com/AAnzel/Polar-Diagrams-for-Model-Comparison/tree/master/Source/polar_diagrams/src/polar_diagrams/polar_diagrams.py)|contains the source code that imports the data, modifies it, calculates statistical and information theory properties, and builds diagrams.
|[Source/polar_diagrams/tests/test.py](https://github.com/AAnzel/Polar-Diagrams-for-Model-Comparison/tree/master/Source/polar_diagrams/tests/test.py)|contains the source code for all unit tests.

## Getting started
Expand Down
207 changes: 21 additions & 186 deletions Source/main.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Source/polar_diagrams/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ Script can be automatically generated and downloaded again from here [https://es
|---|---|
|[Source/](https://github.com/AAnzel/Polar-Diagrams-for-Model-Comparison/tree/master/Source)|contains all source scripts.
|[Source/main.ipynb](https://github.com/AAnzel/Polar-Diagrams-for-Model-Comparison/tree/master/Source/main.ipynb)|contains the IPython (jupyter) notebook that demonstrates the library using multiple datasets. This notebook reproduces all of the results we presented in our paper.
|[Source/polar_diagrams/](https://github.com/AAnzel/Polar-Diagrams-for-Model-Comparison/tree/master/Source/polar_diagrams/)|contains the source code of our library.
|[Source/polar_diagrams/src/polar_diagrams.py](https://github.com/AAnzel/Polar-Diagrams-for-Model-Comparison/tree/master/Source/polar_diagrams/src/polar_diagrams.py)|contains the source code that imports the data, modifies it, calculates statistical and information theory properties, and builds diagrams.
|[Source/polar_diagrams/](https://github.com/AAnzel/Polar-Diagrams-for-Model-Comparison/tree/master/Source/polar_diagrams/)|contains the root source code directory of our library.
|[Source/polar_diagrams/src/polar_diagrams/polar_diagrams.py](https://github.com/AAnzel/Polar-Diagrams-for-Model-Comparison/tree/master/Source/polar_diagrams/src/polar_diagrams/polar_diagrams.py)|contains the source code that imports the data, modifies it, calculates statistical and information theory properties, and builds diagrams.
|[Source/polar_diagrams/tests/test.py](https://github.com/AAnzel/Polar-Diagrams-for-Model-Comparison/tree/master/Source/polar_diagrams/tests/test.py)|contains the source code for all unit tests.


Expand Down
2 changes: 1 addition & 1 deletion Source/polar_diagrams/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[metadata]

name = polar_diagrams
version = 1.0.3
version = 1.0.4
author = Aleksandar Anžel
author_email = [email protected]
description = Interactive Polar Diagrams for Model Comparison
Expand Down
13 changes: 0 additions & 13 deletions Source/polar_diagrams/src/__init__.py

This file was deleted.

15 changes: 15 additions & 0 deletions Source/polar_diagrams/src/polar_diagrams/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Read version from installed package
from importlib.metadata import version
__version__ = version(__name__)

__all__ = ['df_calculate_td_properties', 'df_calculate_mid_properties',
'df_calculate_all_properties', 'chart_create_taylor_diagram',
'chart_create_mi_diagram', 'chart_create_all_diagrams']

# Populate package namespace
from .polar_diagrams import df_calculate_td_properties # noqa
from .polar_diagrams import df_calculate_mid_properties # noqa
from .polar_diagrams import df_calculate_all_properties # noqa
from .polar_diagrams import chart_create_taylor_diagram # noqa
from .polar_diagrams import chart_create_mi_diagram # noqa
from .polar_diagrams import chart_create_all_diagrams # noqa
File renamed without changes.

0 comments on commit f189632

Please sign in to comment.