from diffpy.labpdfproc.tools import known_sources, set_output_directory, set_wavelength
params1 = [
([None], ["."]),
(["."], ["."]),
(["new_dir"], ["new_dir"]),
(["existing_dir"], ["existing_dir"]),
([], ["."]),
(["-o", "."], ["."]),
I think the string here needs to be one of the arguments for user to
specify? For example user specifies -o instead of output_directory. If we
put output_directory it will cause an error saying it's not one of the
arguments. Not sure if what I say here completely makes sense.
We are after the full input with -- in front, not the abbreviated one with a single dash
On Mon, May 6, 2024, 4:47 PM Yucong (Alice) Chen @.***> wrote: