correct syntax for python ice selection