def getScans(self, modifications=True, fdr=True):
if not self.scans:<EOL><INDENT>for i in self:<EOL><INDENT>yield i<EOL><DEDENT><DEDENT>else:<EOL><INDENT>for i in self.scans.values():<EOL><INDENT>yield i<EOL><DEDENT><DEDENT>yield None<EOL>
get a random scan