text1='The file contains:\n{} Common Events\n{} Ionic Only Events\n{} Transverse Only Events'.format(len(self.CommonIndexes['i1']),len(self.OnlyIndexes['i1']),len(self.OnlyIndexes['i2']))
self.ui.InfoTexts.setText(text2+text1)
defcreation_date(path_to_file):
ifplatform.system()=='Windows':
returnos.path.getctime(path_to_file)
else:
stat=os.stat(path_to_file)
try:
returnstat.st_mtime
exceptAttributeError:
# We're probably on Linux. No easy way to get creation dates here,
# so we'll settle for when its content was last modified.