MCPcopy Create free account
hub / github.com/assemblerflow/flowcraft / inspect

Function inspect

flowcraft/flowcraft.py:385–402  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

383
384
385def inspect(args):
386
387 try:
388 nf_inspect = NextflowInspector(args.trace_file, args.refresh_rate,
389 args.pretty, args.url)
390 if args.mode == "overview":
391 nf_inspect.display_overview()
392
393 if args.mode == "broadcast":
394 nf_inspect.broadcast_status()
395
396 except eh.InspectionError as ie:
397 logger.error(colored_print(ie.value, "red_bold"))
398 sys.exit(1)
399
400 except eh.LogError as le:
401 logger.error(colored_print(le.value, "red_bold"))
402 sys.exit(1)
403
404
405

Callers 1

mainFunction · 0.85

Calls 4

display_overviewMethod · 0.95
broadcast_statusMethod · 0.95
NextflowInspectorClass · 0.90
colored_printFunction · 0.90

Tested by

no test coverage detected