Simple fix. There's no reason to join the python list of potential ids into a string before checking to see if an id is IN said list. In fact doing so causes the problem. bm4 will ALWAYS be IN a string that contains bm4_s01. The IN comparator will work on a python list without concatenating the list's elements into a string first. And will treat all the lists' elements as individual.
I'm attaching a test plugin with an updated cutils.py file (lines 146-149). The plugin dev can do with it what they will.
Last edited by DiapDealer; 08-08-2023 at 09:32 PM.
|