diff --git a/biostools/analyzers.py b/biostools/analyzers.py index 52e9746..547c15b 100644 --- a/biostools/analyzers.py +++ b/biostools/analyzers.py @@ -339,8 +339,8 @@ class AMIAnalyzer(Analyzer): # - Second digit not 0 (I forget which one had 000000) # - Can be 4-digit instead of 6-digit (Biostar) self._id_block_pattern = re.compile(b'''(?:AMIBIOS (?:(0[1-9][0-9]{2}[\\x00-\\xFF]{2})[\\x00-\\xFF]{2}|W ([0-9]{2}) ([0-9]{2})[\\x00-\\xFF])|0123AAAAMMMMIIII|\\(AAMMIIBBIIOOSS\\))([\\x00-\\xFF]{2}/[0-9]{2}/[0-9]{2})\\(C\\)[0-9]{4} American Megatrends,? Inc(?:\\.,?.All.Rights.Reserved|/Hewlett-Packard Company)''') - # Weird TGem identifier (TriGem 486-BIOS) - self._precolor_block_pattern = re.compile(b'''\\(C\\)(?:[0-9]{4}(?:AMI,404-263-8181|TGem-HCS,PSC,JGS)|( Access Methods Inc\\.))''') + # TriGem weirdness: "TGem" (UMC 486-BIOS) and "TriGem Computer " (SiS 486-BIOS) + self._precolor_block_pattern = re.compile(b'''\\(C\\)(?:[0-9]{4}(?:AMI,404-263-8181|TGem-HCS,PSC,JGS|TriGem Computer )|( Access Methods Inc\\.))''') # "Date:-" might not have a space after it (Intel AMI) # "\xFF\xFF\xFF\xFFFLASH-" (Everex EISA 386-BIOS) # Encoded "EVALUATION COPY" as a backup ("ami2939", possibly others without a date)