Skip to content
Snippets Groups Projects
Commit e8485669 authored by tomrink's avatar tomrink
Browse files

fix bug

parent 57df36b9
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ class AMVFiles: ...@@ -142,7 +142,7 @@ class AMVFiles:
def get_file_containing_time(self, timestamp): def get_file_containing_time(self, timestamp):
k = -1 k = -1
for i in range(len(self.ftimes.shape[0])): for i in range(self.ftimes.shape[0]):
if (timestamp >= self.ftimes[i, 0]) and (timestamp < self.ftimes[i, 1]): if (timestamp >= self.ftimes[i, 0]) and (timestamp < self.ftimes[i, 1]):
k = i k = i
break break
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment