Robert Millikan, the physicist who first measured the charge on the electron, discarded results that did not match his expectations, yet he won a Nobel prize because he was right.
The physicist Robert Millikan (who showed minor confirmation bias in his own work on the charge of the electron by omitting outlying observations that did not fit his hypothesis) devoted more than 10 years to trying to disprove Einstein's theory that light consists of particles (photons).