From 02b8e60d9675cbd48da5d1577f8162de5b885409 Mon Sep 17 00:00:00 2001 From: Michal Stolarczyk Date: Wed, 2 Sep 2020 09:16:40 -0400 Subject: [PATCH 1/3] bump version --- refgenconf/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/refgenconf/_version.py b/refgenconf/_version.py index 380d35b3..faa5dea2 100644 --- a/refgenconf/_version.py +++ b/refgenconf/_version.py @@ -1 +1 @@ -__version__ = "0.9.2" \ No newline at end of file +__version__ = "0.9.3" \ No newline at end of file From 5b9e488b9f0d41cc83f576b2bbaebc5d2480df43 Mon Sep 17 00:00:00 2001 From: Michal Stolarczyk Date: Wed, 2 Sep 2020 09:17:09 -0400 Subject: [PATCH 2/3] fix warning in seek --- refgenconf/refgenconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/refgenconf/refgenconf.py b/refgenconf/refgenconf.py index 045e3322..b15ff68a 100755 --- a/refgenconf/refgenconf.py +++ b/refgenconf/refgenconf.py @@ -356,7 +356,7 @@ def seek(self, genome_name, asset_name, tag_name=None, seek_key=None, # return option2 if existence not enforced if strict_exists is None: _LOGGER.debug(msg) - if strict_exists is True: + elif strict_exists is True: raise OSError(msg) else: warnings.warn(msg, RuntimeWarning) From 278151d54ee532ca399b197741ed7f2ec7a881fb Mon Sep 17 00:00:00 2001 From: Michal Stolarczyk Date: Wed, 2 Sep 2020 09:17:29 -0400 Subject: [PATCH 3/3] update changelog --- docs/changelog.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/changelog.md b/docs/changelog.md index 45f58ce9..213bf0ac 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,6 +2,11 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format. +## [0.9.3] - 2020-09-02 + +### Fixed +- warning in `seek` method when executed with `strict_exists=None` + ## [0.9.2] - 2020-08-19 ### Added