Skip to content

Commit

Permalink
Merge pull request #574 from shankari/create_tree_pipeline
Browse files Browse the repository at this point in the history
Actually use the current time range for querying sections
  • Loading branch information
shankari authored Feb 26, 2018
2 parents 3d95d2c + 1d30f32 commit 0db16b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def getLastSectionDone(self):
def runPredictionPipeline(self, user_id, timerange):
self.ts = esta.TimeSeries.get_time_series(user_id)
self.toPredictSections = esda.get_entries(esda.CLEANED_SECTION_KEY, user_id,
time_query=None)
time_query=timerange)
if (len(self.toPredictSections) == 0):
logging.debug("len(toPredictSections) == 0, early return")
assert self.last_section_done is None, ("self.last_section_done == %s, expecting None" % \
Expand Down

0 comments on commit 0db16b7

Please sign in to comment.