Skip to content

Commit 4149a26

Browse files
committed
draft inter-relationship
1 parent c38951a commit 4149a26

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

BRB/run.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
from pathlib import Path
1515
from rich import print
1616

17+
# def validate_fcid_with_stats(ctx, param, value):
18+
# if ctx.params.get('stats') and not value:
19+
# raise click.UsageError('--fcid is required when --stats is used')
20+
# return value
21+
1722
@click.command(
1823
context_settings=dict(
1924
help_option_names=["-h", "--help"]
@@ -32,8 +37,11 @@
3237
"-s",
3338
"--stats",
3439
required=False,
35-
help='specify a flowcell ID to push its stats.'
40+
is_flag=True,
41+
help='specify a flowcell ID to push its stats, (WIP: --fcid not implemented yet).'
3642
)
43+
# @click.option('--fcid', callback=validate_fcid_with_stats, help='Flowcell ID that lacks stats.'
44+
# def run_brb(configfile, stats, fcid):
3745
def run_brb(configfile, stats):
3846

3947
while True:

0 commit comments

Comments
 (0)