Files
openfe/openfecli/parameters/misc.py
Josh Horton fe5de586ef Merge branch 'main' into cli-partial-charges
# Conflicts:
#	openfecli/commands/plan_rbfe_network.py
#	openfecli/commands/plan_rhfe_network.py
#	openfecli/parameters/__init__.py
#	openfecli/parameters/misc.py
#	openfecli/tests/commands/test_plan_rbfe_network.py
#	openfecli/tests/commands/test_plan_rhfe_network.py
2025-01-30 11:07:09 +00:00

24 lines
901 B
Python

import click
from plugcli.params import Option
N_PROTOCOL_REPEATS = Option(
"--n-protocol-repeats",
type=click.INT,
help="Number of independent repeats(s) to be run per execution of a transformation using the `openfe quickrun` command.\n\n"
"For example:\n\n `--n-protocol-repeats=3` means `openfe quickrun` will execute 3 repeats in serial.\n\n"
" `--n-protocol-repeats=1` means `openfe quickrun` will execute only 1 repeat per call, "
"which allows for individual repeats to be submitted in parallel by calling `openfe quickrun` on the same input JSON file multiple times.",
)
NCORES = Option(
"-n",
"--n-cores",
help="The number of cores which should be used for multiprocessing stages."
)
OVERWRITE = Option(
"--overwrite-charges",
is_flag=True,
default=False,
help="If the charges already present in the molecules should be overwritten."
)