biobricks-ai / biobricks

BioBricks makes loading data from biological datasets and databases easy. Python and R interfaces, data version control, and an API for pulling datasets that have been converted to easy-to-use formats.
https://docs.biobricks.ai
MIT License
5 stars 2 forks source link

Upgrading brick: missing remove subcommand #12

Closed zmughal closed 11 months ago

zmughal commented 11 months ago

Steps to reproduce:

  1. Previously have a dependency added using add: biobricks add ice
  2. Run biobricks add ice again to upgrade. Error:
    ValueError: 'ice' already exists. To update, run:
           `biobricks remove ice`
           and then `biobricks add ice`
  3. Try to run biobricks remove ice. Error:

    Usage: biobricks [OPTIONS] COMMAND [ARGS]...
    Try 'biobricks --help' for help.
    
    Error: No such command 'remove'.

Work around: remove the line with the brick manually in .bb/dependencies.txt