Skip to content

Commit

Permalink
Switch off SuspiciousUsageWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
jnnr committed Feb 1, 2021
1 parent 0d526ba commit 1922cd9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/oemof/tabular/facades.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,19 @@
SPDX-License-Identifier: BSD-3-Clause
"""
from collections import deque
import warnings

from oemof.network.energy_system import EnergySystem
from oemof.network.network import Node
from oemof.solph import Bus, Flow, Investment, Sink, Source, Transformer
from oemof.solph.components import ExtractionTurbineCHP, GenericStorage
from oemof.solph.custom import ElectricalBus, ElectricalLine, Link
from oemof.solph.plumbing import sequence
from oemof.tools.debugging import SuspiciousUsageWarning


# Switch off SuspiciousUsageWarning
warnings.filterwarnings("ignore", category=SuspiciousUsageWarning)


def add_subnodes(n, **kwargs):
Expand Down

0 comments on commit 1922cd9

Please sign in to comment.