My bad experience in that area was the Gracilis and it was caused by hyperextending my leg as I lifted it over the seat in my mount/dismount.

Look it up on the 'net and see if what you see follows the path of pain.

If so, my solution was active release (chiropractor) and tilting my bike lower on mount/dismount.