Skip to content

Commit

Permalink
fix: startup to get run not catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
maffettone committed Apr 12, 2024
1 parent bedc480 commit fa5c303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdf_agents/startup_scripts/mmm5-tax-day/kmeans-gsas.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def name(self):
return "GSAS-Based-Active-Kmeans"

def trigger_condition(self, uid) -> bool:
return self.exp_catalog.metadata["start"]["agent_name"].startswith("GSAS-Refinement-Agent")
return self.exp_catalog[uid].metadata["start"]["agent_name"].startswith("GSAS-Refinement-Agent")


agent = Agent(
Expand Down

0 comments on commit fa5c303

Please sign in to comment.