File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 14
14
from pathlib import Path
15
15
from rich import print
16
16
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
+
17
22
@click .command (
18
23
context_settings = dict (
19
24
help_option_names = ["-h" , "--help" ]
32
37
"-s" ,
33
38
"--stats" ,
34
39
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).'
36
42
)
43
+ # @click.option('--fcid', callback=validate_fcid_with_stats, help='Flowcell ID that lacks stats.'
44
+ # def run_brb(configfile, stats, fcid):
37
45
def run_brb (configfile , stats ):
38
46
39
47
while True :
You can’t perform that action at this time.
0 commit comments