Skip to content

Commit

Permalink
Bug fix for the click_log init. Their update broke the api so I think…
Browse files Browse the repository at this point in the history
… it's best to use the new approach and impose a version requirement in the dependencies.
  • Loading branch information
biomadeira committed Sep 6, 2017
1 parent 728530a commit b5a8878
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,7 @@ def file_downloader(ids, pdb=False, mmcif=False, bio=False, sifts=False,

@cli.command('download')
@click.argument('ids', nargs=-1, required=True)
@click_log.init("biodownloader")
@click_log.simple_verbosity_option()
@click_log.simple_verbosity_option(logger)
@click.option('--pdb', 'pdb', multiple=False,
help='Structure in PDB format (expects PDB ID).',
default=False, is_flag=True, required=False)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ requests
pandas
lxml
click
click_log
click_log>=0.2.0
responses
scipy

0 comments on commit b5a8878

Please sign in to comment.