From 990fb1eb7c7bb8b53e5388e0e28988d9606b262c Mon Sep 17 00:00:00 2001
From: dave <dave@dtu.dk>
Date: Wed, 16 Dec 2015 14:55:53 +0100
Subject: [PATCH] fixed another typo after the cosmetic changes in
 dlc.high_level

---
 wetb/dlc/high_level.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/wetb/dlc/high_level.py b/wetb/dlc/high_level.py
index 3c25bfa..bcddc06 100644
--- a/wetb/dlc/high_level.py
+++ b/wetb/dlc/high_level.py
@@ -76,11 +76,11 @@ class DLCHighLevel(object):
             self.dlc_df['psf'] = 1
 
         # Sensors sheet
-        self.sensor_df2 = pd.read_excel(self.filename, sheetname='Sensors', skiprows=[1])
+        self.sensor_df = pd.read_excel(self.filename, sheetname='Sensors', skiprows=[1])
         # empty strings are now nans, convert back to empty strings
-        self.sensor_df2.fillna('', inplace=True)
+        self.sensor_df.fillna('', inplace=True)
         # force headers to lower case
-        self.sensor_df2.columns = [k.lower() for k in self.sensor_df2.columns]
+        self.sensor_df.columns = [k.lower() for k in self.sensor_df.columns]
 
         for k in ['Name', 'Nr']:
             assert k.lower() in self.sensor_df.keys(), "Sensor sheet must have a '%s' column" % k
-- 
GitLab