Skip to content

Commit

Permalink
fix: actually use plan factory
Browse files Browse the repository at this point in the history
  • Loading branch information
maffettone committed Apr 13, 2024
1 parent b984e80 commit 2480632
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bmm_agents/monarch_pdf_subject.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,9 @@ def _add_to_queue(
-------
"""
plan_factory = plan_factory or self.measurement_plan
for point in next_points:
plan_name, args, kwargs = self.measurement_plan(point)
plan_name, args, kwargs = plan_factory(point)
kwargs.setdefault("md", {})
kwargs["md"].update(self.default_plan_md)
kwargs["md"]["agent_ask_uid"] = uid
Expand Down

0 comments on commit 2480632

Please sign in to comment.