fixed bug in omnical python function. may break test