Skip to content

Commit

Permalink
muliple changes:
Browse files Browse the repository at this point in the history
- retain effective recipe inputs: #260
- use Recipe and AssetClass classes, flexible recipes implementation: #198
- enable automatic software version-based tag setting: #195
  • Loading branch information
stolarczyk committed Jul 21, 2021
1 parent 4ea8fb7 commit 3bcb4ff
Show file tree
Hide file tree
Showing 2 changed files with 310 additions and 348 deletions.
6 changes: 3 additions & 3 deletions refgenie/cli.py
Expand Up @@ -16,7 +16,7 @@
from refgenconf.helpers import block_iter_repr
from requests.exceptions import MissingSchema
from rich.console import Console
from ubiquerg import query_yes_no
from rich.prompt import Confirm

from ._version import __version__
from .argparser import build_argparser
Expand Down Expand Up @@ -339,8 +339,8 @@ def main():
)
return
if len(asset_list) > 1:
if not query_yes_no(
"Are you sure you want to remove {} assets?".format(len(asset_list))
if not Confirm.ask(
f"Are you sure you want to remove {len(asset_list)} assets?"
):
_LOGGER.info("Action aborted by the user")
return
Expand Down

0 comments on commit 3bcb4ff

Please sign in to comment.