Skip to content

Swapped docstrings for --multiple-targets vs --multiple-morphs? #269

@tinatn29

Description

@tinatn29

Problem

Current docstring says:

--multiple-morphs Changes usage to 'diffpy.morph [options] FILE
DIRECTORY'. FILE will be morphed with each file in
DIRECTORY as target. Files in DIRECTORY are sorted by
alphabetical order unless a field is specified by
--sort-by.
--multiple-targets Changes usage to 'diffpy.morph [options] DIRECTORY
FILE'. Each file in DIRECTORY will be morphed with
FILE as target. Files in DIRECTORY are sorted by
alphabetical order unless a field is specified by
--sort-by.

Are these switched by any chance? Based on the function names, I would think --multiple-morphs morphs each file in DIRECTORY onto a single TARGET, and --multiple-targets morphs a single FILE onto multiple targets in a DIRECTORY.

Proposed solution

Double check and correct the docstring as needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions