##// END OF EJS Templates
bug in pedestal information
jespinoza -
r1441:a64d7f9c64c1
parent child
Show More
@@ -4075,7 +4075,7 class PedestalInformation(Operation):
4075 self.utcfile += file_size*self.interval
4075 self.utcfile += file_size*self.interval
4076 dt = datetime.datetime.utcfromtimestamp(self.utctime)
4076 dt = datetime.datetime.utcfromtimestamp(self.utctime)
4077 path = os.path.join(self.path, dt.strftime('%Y-%m-%dT%H-00-00'))
4077 path = os.path.join(self.path, dt.strftime('%Y-%m-%dT%H-00-00'))
4078 self.filename = os.path.join(path, 'pos@{}.000.h5'.format(self.utcfile))
4078 self.filename = os.path.join(path, 'pos@{}.000.h5'.format(int(self.utcfile)))
4079 if not os.path.exists(self.filename):
4079 if not os.path.exists(self.filename):
4080 log.warning('Waiting for position files...', self.name)
4080 log.warning('Waiting for position files...', self.name)
4081
4081
General Comments 0
You need to be logged in to leave comments. Login now