Might want to be careful with the way selMode is checked; I used a list like selMode = [False, True, False] thinking it would be fine, but then nodepairs['condCoupling'] was empty. Maybe allow lists but coerce it to a tuple to ensure doing selMode == (False, True, False) will work whether the user passes a tuple or list?
Might want to be careful with the way selMode is checked; I used a list like
selMode = [False, True, False]
thinking it would be fine, but thennodepairs['condCoupling']
was empty. Maybe allow lists but coerce it to a tuple to ensure doingselMode == (False, True, False)
will work whether the user passes a tuple or list?