Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecThomson committed May 17, 2024
1 parent c8ae0ba commit 1be7438
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arrakis/rmclean_oncuts.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,12 +339,14 @@ def main(
components = list(comp_col.aggregate(pipeline))
n_comp = comp_col.count_documents(query)
update_1d = {"rm_outputs_1d.$.rmclean1d": False}
# filter_condition = [{"elem.field": save_name}]
operation_1d = {"$set": update_1d}
logger.info(pformat(operation_1d))

result = comp_col.update_many(
query,
operation_1d,
upsert=True,
)
logger.info(pformat(result.raw_result))

Expand Down

0 comments on commit 1be7438

Please sign in to comment.