From 63b68cdc2ca3b8ea63250ec8579c2b1833db5fbe Mon Sep 17 00:00:00 2001
From: perezgonzalez-irene <iregon@noc.ac.uk>
Date: Tue, 11 Feb 2020 08:05:34 +0000
Subject: [PATCH] Cleaned

---
 reader/import_data.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/reader/import_data.py b/reader/import_data.py
index 83c569f..16e13cc 100644
--- a/reader/import_data.py
+++ b/reader/import_data.py
@@ -10,7 +10,7 @@ INPUT IS EITHER:
     - pd.io.parsers.textfilereader
     - io.StringIO
     - file path
-    
+
 OUTPUT IS AN ITERABLE, DEPENDING ON SOURCE TYPE AND CHUNKSIZE BEING SET:
     - a single dataframe in a list
     - a pd.io.parsers.textfilereader
@@ -18,7 +18,7 @@ OUTPUT IS AN ITERABLE, DEPENDING ON SOURCE TYPE AND CHUNKSIZE BEING SET:
 
 WITH BASICALLY 1 RECORD (ONE OR MULTIPLE REPORTS) IN ONE LINE
 
-delimiter="\t" option in pandas.read_fwf avoids white spaces at taild 
+delimiter="\t" option in pandas.read_fwf avoids white spaces at tails
 to be stripped
 
 @author: iregon
@@ -26,7 +26,7 @@ to be stripped
 DEV NOTES:
 1) What this module is able to ingest needs to align with properties.supported_sources
 2) Check io.StringIO input: why there, does it actually work as it is?
-3) Check pd.io.parsers.textfilereader input: why there, does it actually work as it is?   
+3) Check pd.io.parsers.textfilereader input: why there, does it actually work as it is?
 
 
 OPTIONS IN OLD DEVELOPMENT:
@@ -53,8 +53,8 @@ def to_iterable_df(source,skiprows = None, chunksize = None):
     TextParser = pd.read_fwf(source,widths=[properties.MAX_FULL_REPORT_WIDTH],header = None, delimiter="\t", skiprows = skiprows, chunksize = chunksize)
     if not chunksize:
         TextParser = [TextParser]
-    return TextParser    
-    
+    return TextParser
+
 
 def import_data(source,chunksize = None, skiprows = None):
 
-- 
GitLab