Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyutils/pyplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self, style_path=None, verbosity=1):
verbosity = verbosity
)

self.logger.log(f"Initialised Plot with {self.style_path.rsplit("/", 1)[-1]} and verbosity = {self.verbosity}", "info")
self.logger.log(f"Initialised Plot with {self.style_path.rsplit('/', 1)[-1]} and verbosity = {self.verbosity}", "info")

def round_to_sig_fig(self, val, sf):
"""
Expand Down
8 changes: 6 additions & 2 deletions pyutils/pyprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,14 +454,18 @@ def execute(self):
use_processes=self.use_processes
)

# Postprocess
results = self.postprocess(results)

self.logger.log(f"Analysis complete", "success")

return results

def process_results(self):
def postprocess(self, results):
"""Run post processing on the results list
Placeholder method! You can override it
"""
pass
return results

# Such as combination