Skip to content

Commit

Permalink
#566: whitespace cleanup and other improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
ppebay committed Dec 18, 2024
1 parent f7d2b7b commit 4c3e0fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/lbaf/Applications/LBAF_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,8 @@ def run(self, cfg=None, cfg_dir=None):

# Report on rebalanced phase when available
if rebalanced_phase:
l_stats, w_stats = self.__print_statistics(rebalanced_phase, "rebalanced", runtime.get_work_model())
l_stats, w_stats = self.__print_statistics(
rebalanced_phase, "rebalanced", runtime.get_work_model())
with open(
"imbalance.txt" if self.__parameters.output_dir is None
else os.path.join(
Expand Down
2 changes: 1 addition & 1 deletion src/lbaf/IO/lbsVTDataWriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def __get_communications(self, phase: Phase, rank: Rank):
missing_ref = comm_entry["to"].get("id", comm_entry["to"].get("seq_id"))
self.__logger.error(
f"Invalid object id ({missing_ref}) in communication {json.dumps(comm_entry)}")

if missing_ref is not None:
# Keep communication with invalid entity references for the moment.
# We might remove these communications in the future in the reader work to fix invalid input.
Expand Down

0 comments on commit 4c3e0fd

Please sign in to comment.