Update pinselection.py

added additional values support