compatibility with new mdtraj interface