From 91ba79bbe4c92fc451d2e38f052d9930c3564192 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Sat, 20 Aug 2022 20:25:38 -0300 Subject: [PATCH] Sort out the Intel AMI/Phoenix mess --- biostools/analyzers.py | 131 +++++++++++++++++------------------------ 1 file changed, 53 insertions(+), 78 deletions(-) diff --git a/biostools/analyzers.py b/biostools/analyzers.py index 821485a..441189a 100644 --- a/biostools/analyzers.py +++ b/biostools/analyzers.py @@ -333,7 +333,6 @@ class AMIAnalyzer(Analyzer): self._check_pattern = re.compile(b'''American Megatrends Inc|AMIBIOSC| Access Methods Inc\\.|AMI- ([0-9]{2}/[0-9]{2}/[0-9]{2}) (?:IBM is a TM of IBM|[\\x00-\\xFF]{2} AMI-[^-]+-BIOS )''') self._date_pattern = re.compile(b'''([0-9]{2}/[0-9]{2}/[0-9]{2})[^0-9]''') self._uefi_csm_pattern = re.compile('''63-0100-000001-00101111-[0-9]{6}-Chipset-0AAAA000$''') - self._intel_86_pattern = re.compile('''[0-9A-Z]{8}\\.86[0-9A-Z]\\.[0-9A-Z]{3,4}\\.[0-9A-Z]{1,4}\\.[0-9]{10}$''') # The "All Rights Reserved" is important to not catch the same header on other files. # "All