Changed addSampleMetadata to pep8