However, infection is not the only way to set off inflammation. A diet rich in trans fats and sugar has been shown to promote inflammation while obesity is another risk factor. Carmine Pariante, a psychiatrist at Kings College London, said that in between five to 10 years there may be a blood test that can measure inflammation in people with depression so that they can be treated accordingly.