INNER CODE UNIT · Python

main

Electrostatics/pdb2pqr · pdb2pqr/main.py:973

def main():
    """Hook for command-line usage."""
    parser = build_main_parser()
    args = parser.parse_args()
    io.setup_logger(args.output_pqr, args.log_level)
    if main_driver(args) == 1:
        sys.exit(1)


def run_pdb2pqr(args: Sequence[str | PathLike]):
    """Run PDB2PQR with a list of arguments.

    Logger is not set up so that it can be called multiple times.

    :param args:  list of command-line arguments
    :type args:  list
    :return:  results of PDB2PQR run
    :rtype:  tuple

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…