From a75091aa95c4670b251e68e820e3eafee16353f9 Mon Sep 17 00:00:00 2001 From: Sebastian Kloth Date: Tue, 7 Nov 2023 11:28:12 +0100 Subject: [PATCH] Adjusted type hint for load_and_concat_data --- src/mdevaluate/system.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mdevaluate/system.py b/src/mdevaluate/system.py index 15de993..0541c35 100644 --- a/src/mdevaluate/system.py +++ b/src/mdevaluate/system.py @@ -1,6 +1,7 @@ import abc from dataclasses import dataclass, field from subprocess import run +from typing import Iterable import pandas as pd @@ -44,7 +45,7 @@ class MDSystem(abc.ABC): run(["mv", hdf5_temp_file, hdf5_file]) -def load_and_concat_data(systems: list[MDSystem], key: str, verbose: bool = False): +def load_and_concat_data(systems: Iterable[MDSystem], key: str, verbose: bool = False): data = [] for system in systems: try: