Compare commits
2 Commits
57a492cb48
...
a7da9d7ec8
Author | SHA1 | Date | |
---|---|---|---|
a7da9d7ec8 | |||
ab3d9497d9 |
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user