This question already has an answer here:
I failed to complete my research project (undergraduate) in the time I said I would, because of overconfidence. It seemed like a quite simple project to both me and my advisor initially considering that it was very similar to a project another student of his had worked on, however for some reason (much of the blame is my own) I ran into countless difficulties and now I will not finish in time. How do I get past something like this? I do not know how to continue after such disappointment.
As an addendum: How does one develop an "aptitude" for research? I would like to go to graduate school, but a lot of the advice hinges on whether one not only enjoys but has an "aptitude" for research. Based on my minimal accomplishments this year, it seems clear that I do not currently have an aptitude for research. Can I ever develop such an aptitude?
Edit: I do not feel that this question is a duplicate. This is about UNDERGRADUATE research. Undergraduates have a very different situation - I cannot simply take another week and work on it as the semester will end soon, after which I will undertake an internship, and I have commitments to my courses and other things.
Also, this is not a case of me getting data that don't support my hypothesis - I do not have any data. Or rather, I have data, but it is meaningless until I finish my current project. Which I was supposed to do today.