From 9152425936d36882093e9e2237fff228e38c1759 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Mon, 20 May 2024 11:51:24 +0200 Subject: [PATCH] remove handling of tsam as optional dependency --- scripts/time_aggregation.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/time_aggregation.py b/scripts/time_aggregation.py index 93b41f3a..3ccc9a67 100644 --- a/scripts/time_aggregation.py +++ b/scripts/time_aggregation.py @@ -91,13 +91,6 @@ if __name__ == "__main__": segments = int(resolution[:-3]) logger.info(f"Use temporal segmentation with {segments} segments") - try: - import tsam.timeseriesaggregation as tsam - except ImportError: - raise ModuleNotFoundError( - "Optional dependency 'tsam' not found." "Install via 'pip install tsam'" - ) - # Get all time-dependent data dfs = [ pnl