From dc40014569d97c120aadc0f49d9b406ae2efe9ef Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Wed, 18 May 2022 21:50:01 -0300 Subject: [PATCH] Fix exceptions in IBM SurePath analyzer --- biostools/analyzers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/biostools/analyzers.py b/biostools/analyzers.py index 3acc118..1b058cc 100644 --- a/biostools/analyzers.py +++ b/biostools/analyzers.py @@ -1540,13 +1540,13 @@ class IBMSurePathAnalyzer(Analyzer): if match: # Extract version. self.version = match.group(1) - self._debug_print('Found uncompressed version:', self.version) + self.debug_print('Found uncompressed version:', self.version) self.version = 'SurePath ' + self.version.decode('cp437', 'ignore').strip() # Extract customization as a sign-on if found. (AT&T Globalyst) customization = match.group(2) if customization: - self._debug_print('Found AT&T customization:', customization) + self.debug_print('Found AT&T customization:', customization) self.signon = customization.decode('cp437', 'ignore') else: # Special case for Apricot-licensed SurePath. @@ -1558,7 +1558,7 @@ class IBMSurePathAnalyzer(Analyzer): # Extract Apricot customization as a sign-on. customization = match.group(0) - self._debug_print('Found Apricot customization:', customization) + self.debug_print('Found Apricot customization:', customization) self.signon = customization.decode('cp437', 'ignore')[4:] match = self._apricot_version_pattern.search(file_data) if match: