Skip to content

Commit

Permalink
clean up branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mathleur committed Nov 23, 2023
1 parent 4f72f1f commit 3312772
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions polytope/datacube/backends/fdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

from .datacube import Datacube, IndexTree

import time


class FDBDatacube(Datacube):
def __init__(self, config={}, axis_options={}):
Expand Down Expand Up @@ -46,7 +44,6 @@ def remove_unwanted_axes(self, leaf_path):
return leaf_path

def get(self, requests: IndexTree, leaf_path={}):
time1 = time.time()
# First when request node is root, go to its children
if requests.axis.name == "root":
for c in requests.children:
Expand All @@ -67,8 +64,6 @@ def get(self, requests: IndexTree, leaf_path={}):
else:
for c in requests.children:
self.get(c, leaf_path)
print("TOTAL GET TIME")
print(time.time() - time1)

def get_2nd_last_values(self, requests, leaf_path={}):
# In this function, we recursively loop over the last two layers of the tree and store the indices of the
Expand Down

0 comments on commit 3312772

Please sign in to comment.