Skip to content

Include input-directory path option in argparser #28

Open
@bobleesj

Description

@bobleesj

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'.",
    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions