Skip to content

Commit 789fc03

Browse files
committed
console: show user warning on console rather than logs
1 parent 20dc893 commit 789fc03

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎CodeEntropy/entropy/workflow.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ def execute(self) -> None:
107107

108108
if self._args.water_entropy and water_groups:
109109
if not nonwater_groups:
110-
console.print("Warning: You are running waterEntropy on bulk water, this will be slow!")
110+
console.print(
111+
"Warning: You are running waterEntropy on bulk water, "
112+
"this will be slow!"
113+
)
111114
self._compute_water_entropy(frame_selection, water_groups)
112115
else:
113116
nonwater_groups.update(water_groups)

0 commit comments

Comments
 (0)