This is why you have more than one project. And also backup projects for those projects. Every mature lab should have a simple turn the crank project for each student that's got the biochemistry worked out, and is just a matter of collecting observations and doing lengthy data analysis. Those are the lifesavers when the ambitious ones fall through.
I must have been involved in ~20 projects in my PhD. Only 3-4 will ever be published.