Skip to content

Commit

Permalink
make pipestat_results_file = pipeline_stats_file if it is not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldcampbelljr committed Nov 27, 2023
1 parent ed95993 commit cc84070
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pypiper/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,8 @@ def __init__(
# don't force default pipestat_results_file value unless
# pipestat config not provided
if pipestat_config is None and pipestat_results_file is None:
pipestat_results_file = pipeline_filepath(
self, filename="pipestat_results.yaml"
)

if pipestat_results_file:
self.pipestat_results_file = self.pipeline_stats_file
elif pipestat_results_file:
self.pipestat_results_file = pipestat_results_file

def _get_arg(args_dict, arg_name):
Expand Down

0 comments on commit cc84070

Please sign in to comment.