Skip to content

Fix AutoChem unit manager to properly handle keyword input #670

Description

@avcopan

See autochem.unit_.manage_units decorator.

This is currently broken when the user passes in e.g. P=1 for the first argument (this gets passed in kwargs, not args). To resolve this, have arg_dims be a dict of {name: dimension}.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions