[PYOPENMS] adapt template changes in pyOpenMS