Problem
All outputs are saved in the current working directory where the script is executed, making it difficult to tests via pytest (we want to use tmpdir)
Proposed solution
Like in diffpy.snmf , allow the user to set the output directory.
parser.add_argument(
"-o",
"--output-directory",
type=str,
help="The directory where the results will be written. Defaults to '<input_directory>/snmf_results'.",
)
Problem
All outputs are saved in the current working directory where the script is executed, making it difficult to tests via pytest (we want to use
tmpdir)Proposed solution
Like in
diffpy.snmf, allow the user to set the output directory.