Scientific writing is by nature a bit formal. Contractions are an informal use of words. Avoid the use of contractions and simply write on the statement. In this case:
'didn't' becomes 'did not'
Back to the Manuscript