simplify_network: Set up logger correctly
This commit is contained in:
parent
9c64034950
commit
cc7d356db0
@ -231,8 +231,7 @@ if __name__ == "__main__":
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
logger = logging.getLogger()
|
logging.basicConfig(level=snakemake.config['logging_level'])
|
||||||
logger.setLevel(snakemake.config['logging_level'])
|
|
||||||
|
|
||||||
n = pypsa.Network(snakemake.input.network)
|
n = pypsa.Network(snakemake.input.network)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user