Compare commits

..

2 Commits

View File

@ -4,7 +4,7 @@ from subprocess import run
from typing import Iterable from typing import Iterable
import pandas as pd import pandas as pd
from tables import NoSuchNodeError
@dataclass(kw_only=True) @dataclass(kw_only=True)
class MDSystem(abc.ABC): class MDSystem(abc.ABC):
@ -52,6 +52,6 @@ def load_and_concat_data(systems: Iterable[MDSystem], key: str, verbose: bool =
data.append(system.load_results(key=key)) data.append(system.load_results(key=key))
if verbose: if verbose:
print(f"Load {system}") print(f"Load {system}")
except (FileNotFoundError, KeyError): except (FileNotFoundError, KeyError, NoSuchNodeError):
continue continue
return pd.concat(data, ignore_index=True) return pd.concat(data, ignore_index=True)