self.logger.error(f"Pipeline incomplete: missing final outputs {missing}")
missing_or_empty=[]
forfinexpected_files:
resolved=self._resolve_file(f)
path=self.sandbox_dir/resolved
ifnotpath.exists()orpath.stat().st_size==0:
missing_or_empty.append(resolved)
ifmissing_or_empty:
self.logger.error(
f"Pipeline incomplete: missing final outputs {missing_or_empty}"
)
returnFalse
returnTrue
...
...
@@ -260,7 +372,8 @@ class MDAgent(BaseAgent):
ifself.ligand_nameandsuccess:
user_prompt="\n==========\nWould you like me to calculate the free energy of binding for your protein-ligand system using the MMPBSA tool? (yes/no) \n\n"