From c02ae889d3b8f68839c66d5d0a6d686e75444433 Mon Sep 17 00:00:00 2001 From: Xiaoting Hua Date: Mon, 29 Mar 2021 10:01:29 +0800 Subject: [PATCH] Update results.py --- BacAnt/Integron_Finder/integron_finder/results.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BacAnt/Integron_Finder/integron_finder/results.py b/BacAnt/Integron_Finder/integron_finder/results.py index dd0c047..b82cf20 100644 --- a/BacAnt/Integron_Finder/integron_finder/results.py +++ b/BacAnt/Integron_Finder/integron_finder/results.py @@ -1,6 +1,6 @@ import colorlog import pandas as pd -from pandas.io.common import EmptyDataError + _log = colorlog.getLogger(__name__) @@ -55,7 +55,7 @@ def merge_results(*results_file): for one_result in results_file: try: res = pd.read_csv(one_result, sep="\t", comment='#') - except EmptyDataError: + except: continue all_res.append(res) if all_res: