Interpret str-type args to `interconnect` as non-sequence by roryyorke · Pull Request #698 · python-control/python-control

Conversation

@roryyorke

If the arguments inputs or outputs (or their aliases input or
output) are of type str, treat as a list containing that string.

Fixes gh-692.

If the arguments `inputs` or `outputs` (or their aliases `input` or
`output`) are of type str, treat as a list containing that string.

Fixes python-controlgh-692.

@coveralls

Coverage Status

Coverage increased (+0.004%) to 93.595% when pulling 37d3148 on roryyorke:rory/interconnect-io-str into e8db508 on python-control:master.

bnavigator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM