diff options
author | Aki <please@ignore.pl> | 2022-08-30 00:39:01 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-08-30 00:39:01 +0200 |
commit | 9f125795484a73593a2631cb4256475864b0badf (patch) | |
tree | 8f37da0003cd96bac2f102d0550dfb1f94681d6c | |
parent | e26167b82ea6b6c8ec049321a7426bfe076709ac (diff) | |
download | szilagyi-9f125795484a73593a2631cb4256475864b0badf.zip szilagyi-9f125795484a73593a2631cb4256475864b0badf.tar.gz szilagyi-9f125795484a73593a2631cb4256475864b0badf.tar.bz2 |
Included dataset in the package
-rwxr-xr-x | setup.py | 2 | ||||
-rw-r--r-- | szilagyi/dataset/SWI_-1.csv (renamed from dataset/SWI_-1.csv) | 0 | ||||
-rw-r--r-- | szilagyi/dataset/SWI_-10.csv (renamed from dataset/SWI_-10.csv) | 0 | ||||
-rw-r--r-- | szilagyi/dataset/SWI_-2.csv (renamed from dataset/SWI_-2.csv) | 0 | ||||
-rw-r--r-- | szilagyi/dataset/SWI_-5.csv (renamed from dataset/SWI_-5.csv) | 0 | ||||
-rw-r--r-- | szilagyi/dataset/SWI_0.csv (renamed from dataset/SWI_0.csv) | 0 | ||||
-rw-r--r-- | szilagyi/dataset/SWI_1.csv (renamed from dataset/SWI_1.csv) | 0 | ||||
-rw-r--r-- | szilagyi/dataset/SWI_10.csv (renamed from dataset/SWI_10.csv) | 0 | ||||
-rw-r--r-- | szilagyi/dataset/SWI_2.csv (renamed from dataset/SWI_2.csv) | 0 | ||||
-rw-r--r-- | szilagyi/dataset/SWI_5.csv (renamed from dataset/SWI_5.csv) | 0 | ||||
-rw-r--r-- | szilagyi/plots.py | 4 |
11 files changed, 5 insertions, 1 deletions
@@ -6,4 +6,6 @@ setup( name="szilagyi", packages=["szilagyi"], extra_requires={"plots": ["matplotlib"]}, + package_data={"": ["dataset/*.csv"]}, + include_package_data=True, ) diff --git a/dataset/SWI_-1.csv b/szilagyi/dataset/SWI_-1.csv index 5c54050..5c54050 100644 --- a/dataset/SWI_-1.csv +++ b/szilagyi/dataset/SWI_-1.csv diff --git a/dataset/SWI_-10.csv b/szilagyi/dataset/SWI_-10.csv index a97e2b1..a97e2b1 100644 --- a/dataset/SWI_-10.csv +++ b/szilagyi/dataset/SWI_-10.csv diff --git a/dataset/SWI_-2.csv b/szilagyi/dataset/SWI_-2.csv index b8a35ff..b8a35ff 100644 --- a/dataset/SWI_-2.csv +++ b/szilagyi/dataset/SWI_-2.csv diff --git a/dataset/SWI_-5.csv b/szilagyi/dataset/SWI_-5.csv index af7179e..af7179e 100644 --- a/dataset/SWI_-5.csv +++ b/szilagyi/dataset/SWI_-5.csv diff --git a/dataset/SWI_0.csv b/szilagyi/dataset/SWI_0.csv index 3d19b98..3d19b98 100644 --- a/dataset/SWI_0.csv +++ b/szilagyi/dataset/SWI_0.csv diff --git a/dataset/SWI_1.csv b/szilagyi/dataset/SWI_1.csv index a468a93..a468a93 100644 --- a/dataset/SWI_1.csv +++ b/szilagyi/dataset/SWI_1.csv diff --git a/dataset/SWI_10.csv b/szilagyi/dataset/SWI_10.csv index 094f991..094f991 100644 --- a/dataset/SWI_10.csv +++ b/szilagyi/dataset/SWI_10.csv diff --git a/dataset/SWI_2.csv b/szilagyi/dataset/SWI_2.csv index a1b042b..a1b042b 100644 --- a/dataset/SWI_2.csv +++ b/szilagyi/dataset/SWI_2.csv diff --git a/dataset/SWI_5.csv b/szilagyi/dataset/SWI_5.csv index d87d202..d87d202 100644 --- a/dataset/SWI_5.csv +++ b/szilagyi/dataset/SWI_5.csv diff --git a/szilagyi/plots.py b/szilagyi/plots.py index e0727c8..ed9b52c 100644 --- a/szilagyi/plots.py +++ b/szilagyi/plots.py @@ -1,3 +1,5 @@ +import os + import matplotlib.pyplot as plot from .nomogram import * @@ -12,7 +14,7 @@ def grid(start, end, steps): if __name__ == "__main__": - swis = load("dataset") + swis = load(os.path.join(os.path.dirname(__file__), "dataset")) def _swi(x, y): # dt, depth segments = find_boundary_curves(swis, x, y) |