Skip to content

Commit

Permalink
correct destroy bug, gather aggregate_results #469
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldcampbelljr committed Mar 14, 2024
1 parent fd05c04 commit 2952f1a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions looper/looper.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ def __call__(self, args, preview_flag=True):
_LOGGER.info("Removing summary:")
destroy_summary(
self.prj,
getattr(args, "dry_run", None),
getattr(args, "project", None),
dry_run=preview_flag,
project_level=getattr(args, "project", None),
)

_LOGGER.info("Removing results:")
Expand Down Expand Up @@ -708,6 +708,9 @@ def destroy_summary(prj, dry_run=False, project_level=False):
pipeline_name=psm.pipeline_name,
appendix="objs_summary.yaml",
),
os.path.join(
os.path.dirname(psm.config_path), "aggregate_results.yaml"
),
],
dry_run,
)
Expand Down Expand Up @@ -735,8 +738,8 @@ def destroy_summary(prj, dry_run=False, project_level=False):
pipeline_name=psm.pipeline_name,
appendix="objs_summary.yaml",
),
get_file_for_table(
psm, pipeline_name="", directory="aggregate_results.yaml"
os.path.join(
os.path.dirname(psm.config_path), "aggregate_results.yaml"
),
],
dry_run,
Expand Down

0 comments on commit 2952f1a

Please sign in to comment.