Skip to content

Commit

Permalink
Merge pull request AIRI-Institute#130 from AIRI-Institute/plot
Browse files Browse the repository at this point in the history
small changes
  • Loading branch information
Vitaly-Protasov authored Aug 28, 2023
2 parents 2418575 + ee263a8 commit aa7af38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions probing/basic_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ def __init__(
self.value_field = value_field

@staticmethod
def get_logs(paths: List[Path]) -> List[Path]:
def get_logs(paths: List[Path], filename: str = "log.json") -> List[Path]:
logs_path = []
for path in paths:
internal_log_paths = path.glob("**/*/log.json")
internal_log_paths = path.glob(f"**/*/{filename}")
for log_path in internal_log_paths:
if log_path not in logs_path:
logs_path.append(log_path)
Expand Down

0 comments on commit aa7af38

Please sign in to comment.