From 5a23c3e6c40e116e1b2df407b81364d891204174 Mon Sep 17 00:00:00 2001 From: Donald Campbell <125581724+donaldcampbelljr@users.noreply.github.com> Date: Thu, 6 Jun 2024 14:19:08 -0400 Subject: [PATCH] lint --- pipestat/pipestat.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pipestat/pipestat.py b/pipestat/pipestat.py index 0b734813..661109e2 100644 --- a/pipestat/pipestat.py +++ b/pipestat/pipestat.py @@ -904,8 +904,11 @@ def summarize( def check_multi_results(self): # Check to see if the user used a path with "{record-identifier}" if self.file: - #TODO this needs rework: remove self.cfg["unresolved_result_path"] and just use self.file - if "{record_identifier}" in self.file or self.cfg["unresolved_result_path"] != self.file: + # TODO this needs rework: remove self.cfg["unresolved_result_path"] and just use self.file + if ( + "{record_identifier}" in self.file + or self.cfg["unresolved_result_path"] != self.file + ): # assume there are multiple result files in sub-directories self.cfg["multi_result_files"] = True results_directory = self.cfg["unresolved_result_path"].split(