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 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 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)