Skip to content

Include input-directory path option in argparser #28

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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