CADET Solution trying to return an array with two differently sized axises

Expected behavior.

I am trying to add a cstr into my periodic counter current chromatogram code to mimic the flow restrictor on the AKTA. I have a separate code to model a tracer run I did with the CSTR and that works fine. For some reason when it is added to the PCC model I get an error.

Actual behavior

The error is
“ValueError: all the input array dimensions except for the concatenation axis must match exactly, but along dimension 1, the array at index 0 has size 841 and the array at index 1 has size 840”

How to produce bug (including a minimal reproducible example)

Just run the script with the Cstr and get the error

File produced by conda env export > environment.yml

environment.yml (7.7 KB)

Optional link to repository (oriented around this template: GitHub - modsim/bug_report_example: Template for reporting bugs including code and data)

Good morning Daniel,

Thank you for reporting your issue and especially doing so in a repository, which makes it much easier for us to assess and reproduce the problem!

The issue with the comparator you described was introduced in version 0.11.0. It was previously reported and has since been resolved in a hotfix. Updating to the latest version, v0.11.1, should resolve the problem.

Please don’t hesitate to reach out if there’s anything else we can help with.

All the best,
Hannah