Skip to content

Fix AutoChem unit manager to properly handle keyword input #670

@avcopan

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}.

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