Skip to content

Commit

Permalink
disable automatic BlockDetection
Browse files Browse the repository at this point in the history
  • Loading branch information
ttngu207 committed Apr 25, 2024
1 parent 9c0c8c6 commit dba170a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aeon/dj_pipeline/analysis/block_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def make(self, key):
block_entries[-1]["block_end"] = block_end
block_entries.append({**exp_key, "block_start": block_end, "block_end": None})

Block.insert(block_entries)
Block.insert(block_entries, skip_duplicates=True)
self.insert1(key)


Expand Down
2 changes: 1 addition & 1 deletion aeon/dj_pipeline/populate/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def ingest_environment_visits():
acquisition_worker(acquisition.EpochConfig)
acquisition_worker(acquisition.Environment)
# acquisition_worker(ingest_environment_visits)
acquisition_worker(block_analysis.BlockDetection)
# acquisition_worker(block_analysis.BlockDetection)

# configure a worker to handle pyrat sync
pyrat_worker = DataJointWorker(
Expand Down

0 comments on commit dba170a

Please sign in to comment.