Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldcampbelljr committed Jun 6, 2024
1 parent a36668c commit 5a23c3e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pipestat/pipestat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 5a23c3e

Please sign in to comment.