Skip to content

Commit

Permalink
Include all existing snaps in exposure set.
Browse files Browse the repository at this point in the history
Because of an indentation error, the code previously only stored the
last snap, or nothing if the last snap was not present.
  • Loading branch information
kfindeisen committed Nov 25, 2024
1 parent b56644a commit 09c2157
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/activator/activator.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,10 +455,10 @@ def process_visit(expected_visit: FannedOutVisit):
snap,
expected_visit.detector,
)
if oid:
_log.debug("Found object %s already present", oid)
exp_id = mwi.ingest_image(oid)
expid_set.add(exp_id)
if oid:
_log.debug("Found object %s already present", oid)
exp_id = mwi.ingest_image(oid)
expid_set.add(exp_id)

_log.debug("Waiting for snaps...")
start = time.time()
Expand Down

0 comments on commit 09c2157

Please sign in to comment.