Skip to content

Commit 4981a9c

Browse files
committed
Improve Warning Message
1 parent 99e6b19 commit 4981a9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flixopt/calculation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def __init__(
6262
self.name = name
6363
if flow_system.used_in_calculation:
6464
logger.warning(
65-
f'FlowSystem {flow_system} is already used in a calculation. '
65+
f'This FlowSystem is already used in a calculation:\n{flow_system}\n'
6666
f'Creating a copy of the FlowSystem for Calculation "{self.name}".'
6767
)
6868
flow_system = flow_system.copy()

0 commit comments

Comments
 (0)