@dpys and @anibalsolon have worked on this: https://github.com/dPys/nipype1topydratask/blob/master/converter.py