diff --git a/biostools/__main__.py b/biostools/__main__.py index 8037c14..afd4f31 100644 --- a/biostools/__main__.py +++ b/biostools/__main__.py @@ -128,7 +128,7 @@ def extract(dir_path, _, options): return 2 # Check if bios_extract is there. - if not os.path.exists(os.path.abspath(os.path.join('bios_extract', 'src', 'bios_extract'))): + if not os.path.exists(os.path.abspath(os.path.join('bios_extract', 'bios_extract'))): print('bios_extract binary not found, did you compile it?', file=sys.stderr) return 3 diff --git a/biostools/extractors.py b/biostools/extractors.py index ba964c8..bf47480 100644 --- a/biostools/extractors.py +++ b/biostools/extractors.py @@ -107,7 +107,7 @@ class BIOSExtractor(Extractor): super().__init__(*args, **kwargs) # Path to the bios_extract utility. - self._bios_extract_path = os.path.abspath(os.path.join('bios_extract', 'src', 'bios_extract')) + self._bios_extract_path = os.path.abspath(os.path.join('bios_extract', 'bios_extract')) if not os.path.exists(self._bios_extract_path): self._bios_extract_path = None