remove handling of tsam as optional dependency
This commit is contained in:
parent
9527f4cf77
commit
9152425936
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user