Skip to content
Snippets Groups Projects
Commit c405d64b authored by Karim Ahmed's avatar Karim Ahmed
Browse files

fix: accept uppercase calibration type

parent 426a2310
No related branches found
No related tags found
2 merge requests!879[Tests] Fix: Accept uppercase calibration type,!878[LPD] [Dark] Don't use multiprocessing inside multiprocessing when opening run
......@@ -9,9 +9,7 @@ def pytest_addoption(parser):
default=False,
help="Start release test for all supported calibration notebooks",
)
# detectors_choices = []
# for k in ['agipd', 'jungfrau', 'pnccd', 'epix100', 'all']:
# detectors_choices += [k, k.upper()]
parser.addoption(
"--detectors",
default=["all"],
......@@ -20,7 +18,7 @@ def pytest_addoption(parser):
parser.addoption(
"--calibration",
type=str,
type=str.lower,
choices=["correct", "dark", "all"],
default="all",
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment