From 4cf9266d88a4a9b044cda57cb4b0dbaa356fc241 Mon Sep 17 00:00:00 2001 From: Mingqing Liao Date: Mon, 30 Mar 2020 11:13:29 -0400 Subject: [PATCH] Update run_dfttk.py Missed a comma --- dfttk/scripts/run_dfttk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dfttk/scripts/run_dfttk.py b/dfttk/scripts/run_dfttk.py index f1dd339e..319acc37 100644 --- a/dfttk/scripts/run_dfttk.py +++ b/dfttk/scripts/run_dfttk.py @@ -370,7 +370,7 @@ def run_dfttk(): pconfig.add_argument("-df", "--default_functional", dest="DEFAULT_FUNCTIONAL", type=str, default="PBE", choices=sorted(Potcar.FUNCTIONAL_CHOICES), help="The default functional. Default: PBE") - pconfig.add_argument("-t", "--test_config", dest="TEST_CONFIG", nargs="?", const="all", default="none" + pconfig.add_argument("-t", "--test_config", dest="TEST_CONFIG", nargs="?", const="all", default="none", choices=["all", "pymatgen", "atomate"], help="Test for configurations. Note: currently only support for pymatgen.") pconfig.set_defaults(func=config)