INNER CODE UNIT · Python
run_pdb2pqr
Electrostatics/pdb2pqr · pdb2pqr/main.py:982
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
"""
args_strlist = [str(arg) for arg in args]
parser = build_main_parser()
args_parsed = parser.parse_args(args_strlist)
return main_driver(args_parsed)
def dx_to_cube():
"""Convert DX file format to Cube file format.