From 7fc48661844f8f2dcfe3ccf436c72134ee9d98b6 Mon Sep 17 00:00:00 2001 From: PythonFZ Date: Wed, 20 Jul 2022 16:29:53 +0200 Subject: [PATCH] map data_dict.keys() -> Computation.keys() --- mdsuite/database/scheme.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mdsuite/database/scheme.py b/mdsuite/database/scheme.py index 8cdb9ae7..5c2eb1d8 100644 --- a/mdsuite/database/scheme.py +++ b/mdsuite/database/scheme.py @@ -295,6 +295,10 @@ def __getitem__(self, item): f"Could not find {item} - available keys are {self.data_dict.keys()}" ) + def keys(self) -> list: + """Map the data_dict keys""" + return list(self.data_dict.keys()) + @property def computation_parameter(self) -> dict: """Get a dict of all used computation parameters