WellGroup.wells_with() value comparison
opensean opened this issue · 0 comments
opensean commented
autoprotocol-python/autoprotocol/container.py
Line 397 in cefc179
Hello,
I was attempting to use the WellGroup.wells_with() function to filter some wells and it wasn't behaving as I expected. I noticed the function is doing the comparison of the properties values to the input by object reference instead of value. Is this the desired behavior?
instead of this:
autoprotocol-python/autoprotocol/container.py
Line 426 in cefc179
should it be this:
if prop in w.properties and w.properties[prop] == val
thank you