Skip to content

Commit c9905cb

Browse files
committed
set output to a directory, not a file
1 parent 3ec22b7 commit c9905cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

blocksequence/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
@click.option('--source_db', envvar='SEQ_SOURCE_DB', help="Source database name")
2222
@click.option('--source_user', envvar='SEQ_SOURCE_USER', help="Source DB username")
2323
@click.option('--source_pass', envvar='SEQ_SOURCE_PASS', help="Source DB password")
24-
@click.option('--outdb', envvar='SEQ_OUTPUT', default='sequencing.sqlite',
25-
type=click.Path(dir_okay=False, resolve_path=True),
24+
@click.option('--outdb', envvar='SEQ_OUTPUT', default='.',
25+
type=click.Path(dir_okay=True, file_okay=False, resolve_path=True),
2626
help="Output SQLite database filename")
2727
@click.pass_context
2828
def main(ctx, source_host, source_db, source_user, source_pass, outdb):

0 commit comments

Comments
 (0)