Skip to content

Commit

Permalink
fix warning in seek
Browse files Browse the repository at this point in the history
  • Loading branch information
stolarczyk committed Sep 2, 2020
1 parent 02b8e60 commit 5b9e488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refgenconf/refgenconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5b9e488

Please sign in to comment.