Skip to content

Commit

Permalink
Fix linting issue (Line too long) (#86)
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Ross <[email protected]>
  • Loading branch information
philross and Philipp Ross authored Nov 10, 2023
1 parent 9e8bb70 commit d4dfc94
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/BenchmarkManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ def traverse_config(self, module: dict, input_data: any, path: str, rep_count: i

else:
processed_input, benchmark_record = self.traverse_config(module["submodule"],
module_instance.preprocessed_input, path, rep_count)
module_instance.preprocessed_input, path,
rep_count)
module_instance.postprocessed_input, postprocessing_time = module_instance.postprocess(processed_input,
module["config"],
store_dir=path,
Expand Down Expand Up @@ -349,6 +350,7 @@ class NumpyEncoder(json.JSONEncoder):
"""
Encoder that is used for json.dump(...) since numpy value items in dictionary might cause problems
"""

def default(self, o: any):
if isinstance(o, np.integer):
return int(o)
Expand Down

0 comments on commit d4dfc94

Please sign in to comment.