From 98e0a5cd5acfa6fd376431431e1c793d64807b7e Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Thu, 27 Jan 2022 19:29:49 -0300 Subject: [PATCH] Improve Phoenix detection yet again --- biostools/analyzers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/biostools/analyzers.py b/biostools/analyzers.py index 6bc018a..55ff3f2 100644 --- a/biostools/analyzers.py +++ b/biostools/analyzers.py @@ -1806,7 +1806,7 @@ class PhoenixAnalyzer(Analyzer): return True def _version_core(self, line, match): - '''Phoenix ((?:[A-Za-z]+Core|cME).+)''' + '''Phoenix ((?:cME )?(?:[A-Za-z]+Core|FirstBIOS [^\s]+ Pro).*)''' # Skip setup headers. branch = match.group(1) @@ -1815,7 +1815,7 @@ class PhoenixAnalyzer(Analyzer): # Extract branch, while removing extraneous trademark # symbols and changing the Server abbreviation. - self.version = branch.replace('(tm)', '').replace('SVR', 'Server') + self.version = branch.replace('(tm)', '') return True