Skip to content

Commit

Permalink
Merge pull request #452 from ttngu207/dev_queriable_in_roi_time
Browse files Browse the repository at this point in the history
Tiny PR to fix some debugging code
  • Loading branch information
ttngu207 authored Nov 21, 2024
2 parents c6dd2ba + 1bfec46 commit 72b52c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aeon/dj_pipeline/analysis/block_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def make(self, key):
block_state_query = acquisition.Environment.BlockState & exp_key & chunk_restriction
block_state_df = fetch_stream(block_state_query)
if block_state_df.empty:
# self.insert1(key)
self.insert1(key)
return

block_state_df = block_state_df.loc[
Expand Down Expand Up @@ -108,7 +108,7 @@ def make(self, key):
)

Block.insert(block_entries, skip_duplicates=True)
# self.insert1({**key, "execution_time": datetime.now(UTC)})
self.insert1({**key, "execution_time": datetime.now(UTC)})
self.IdentifiedBlock.insert(
{**key, "block_start": entry["block_start"]} for entry in block_entries
)
Expand Down

0 comments on commit 72b52c6

Please sign in to comment.