Added check to 'cli.py' to verify '--behave-as' parameter
All checks were successful
ydeng/bmlsa/pipeline/head This commit looks good

This commit is contained in:
Harrison Deng 2023-04-28 11:13:37 -05:00
parent 78b4a74bc8
commit 9eebaa2f91

View File

@ -39,6 +39,10 @@ def run(args):
args.end_header,
)
if args.behave_as and args.behave_as not in DEFAULT_ALIGNMENT_PARAMETERS:
logger.error('"--behave-as" received bad option.')
exit(1)
scoring_parameter = (
{
"extend_gap_score": args.extend_gap_score,