Private
Public Access
1
0

better coverage, removed some warnings

This commit is contained in:
Sander Roosendaal
2021-04-14 18:01:01 +02:00
parent 39a196b949
commit eb32394d0b
5 changed files with 17 additions and 17 deletions

View File

@@ -28,7 +28,7 @@ class UserMiddleWareTest(TestCase):
rr = rrower(hrmax=self.r.max,hrut2=self.r.ut2,
hrut1=self.r.ut1,hrat=self.r.at,
hrtr=self.r.tr,hran=self.r.an,ftp=self.r.ftp)
row = rdata(filename,rower=rr)
row = rdata(csvfile=filename,rower=rr)
totaldist = row.df['cum_dist'].max()
totaltime = row.df['TimeStamp (sec)'].max()-row.df['TimeStamp (sec)'].min()
totaltime = totaltime+row.df.loc[:,' ElapsedTime (sec)'].iloc[0]