Map panel values with gene pool in python

Problem solved with the following questions: