@nanopub.command(name="<STR_LIT>", context_settings=CONTEXT_SETTINGS)<EOL>@click.option(<EOL>"<STR_LIT>",<EOL>type=click.File("<STR_LIT>"),<EOL>default="<STR_LIT:->",<EOL>help="<STR_LIT>",<EOL>)<EOL>@click.option("<STR_LIT>", help="<STR_LIT>")<EOL>@click.option(<EOL>"<STR_LIT>",<EOL>help="<STR_LIT>",<EOL>)<EOL>@click.argument("<STR_LIT>")<EOL>@pass_context<EOL>def nanopub_validate(ctx, input_fn, output_fn, api, config_fn):
if config_fn:<EOL><INDENT>config = bel.db.Config.merge_config(ctx.config, override_config_fn=config_fn)<EOL><DEDENT>else:<EOL><INDENT>config = ctx.config<EOL><DEDENT>api = utils.first_true(<EOL>[api, config["<STR_LIT>"]["<STR_LIT>"].get("<STR_LIT>", None)], None<EOL>)<EOL>print(f"<STR_LIT>")<EOL>
Validate nanopubs