From fd019b3e97edf714934ff66d3d5891c639ce909c Mon Sep 17 00:00:00 2001 From: Roman Joeres Date: Wed, 8 May 2024 13:56:36 +0200 Subject: [PATCH] Minor bug fix for "other" datatype --- .github/ISSUE_TEMPLATE/bug_report.md | 8 ++++---- .github/ISSUE_TEMPLATE/question-help-request.md | 8 ++++---- datasail/reader/read_other.py | 3 ++- datasail/version.py | 2 +- recipe/meta.yaml | 2 +- recipe_lite/meta.yaml | 2 +- 6 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index a27b2ea..29f4518 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -17,10 +17,10 @@ Minimal example to reproduce the behavior. Please provide the call to DataSAIL o A clear and concise description of what you expected to happen. **Environment (please complete the following information):** - - OS: [e.g. MacOS, Linux, Win-64] - - DataSAIL Version [e.g. datasail v0.2.2 or datasail-lite v1.0.0] - - Python Version [e.g. Py3.10] - - other useful information about the system, e.g. usage of a WSL or docker + - OS: [e. g. MacOS, Linux, Win-64] + - DataSAIL Version: [e. g. datasail v0.2.2 or datasail-lite v1.0.0] + - Python Version: [e. g. Py3.10] + - other useful information about the system: [e. g. usage of a WSL or docker] **Additional context** Add any other context about the problem here. This can be everything not yet mentioned that you may find helpful for us to tackle the issue. diff --git a/.github/ISSUE_TEMPLATE/question-help-request.md b/.github/ISSUE_TEMPLATE/question-help-request.md index 71f477d..88297d0 100644 --- a/.github/ISSUE_TEMPLATE/question-help-request.md +++ b/.github/ISSUE_TEMPLATE/question-help-request.md @@ -17,10 +17,10 @@ Which outcome of DataSAIL do you encounter? Which outcome of DataSAIL do you expect? Describe how the outcome of DataSAIL confuses you. **Environment (please complete the following information):** - - OS: [e.g. MacOS, Linux, Win-64] - - DataSAIL Version [e.g. datasail v0.2.2 or datasail-lite v1.0.0] - - Python Version [e.g. Py3.10] - - other useful information about the system, e.g. usage of a WSL or docker + - OS: [e. g. MacOS, Linux, Win-64] + - DataSAIL Version: [e. g. datasail v0.2.2 or datasail-lite v1.0.0] + - Python Version: [e. g. Py3.10] + - other useful information about the system: [e. g. usage of a WSL or docker] **Additional context** Add any other context or screenshots about the feature request here. diff --git a/datasail/reader/read_other.py b/datasail/reader/read_other.py index 10b7614..606fc9d 100644 --- a/datasail/reader/read_other.py +++ b/datasail/reader/read_other.py @@ -44,6 +44,7 @@ def read_dir(ds: DataSet, path: Path) -> None: read_data_input(data, dataset, read_dir) dataset = read_data(weights, strats, sim, dist, inter, index, num_clusters, tool_args, dataset) - dataset = remove_duplicate_values(dataset, dataset.data) + # dataset = remove_duplicate_values(dataset, dataset.data) + dataset.id_map = {n: n for n in dataset.names} return dataset diff --git a/datasail/version.py b/datasail/version.py index 5becc17..5c4105c 100644 --- a/datasail/version.py +++ b/datasail/version.py @@ -1 +1 @@ -__version__ = "1.0.0" +__version__ = "1.0.1" diff --git a/recipe/meta.yaml b/recipe/meta.yaml index abe180a..872678d 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,6 +1,6 @@ package: name: "datasail" - version: '1.0.0' + version: '1.0.1' source: path: .. diff --git a/recipe_lite/meta.yaml b/recipe_lite/meta.yaml index 070758d..228cc21 100644 --- a/recipe_lite/meta.yaml +++ b/recipe_lite/meta.yaml @@ -1,6 +1,6 @@ package: name: "datasail-lite" - version: '1.0.0' + version: '1.0.1' source: path: ..