From 0d3271868c499afee422e8714d7af3172a20d38f Mon Sep 17 00:00:00 2001 From: Misko Date: Wed, 18 Dec 2024 23:27:03 +0000 Subject: [PATCH] lint --- src/fairchem/core/datasets/base_dataset.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fairchem/core/datasets/base_dataset.py b/src/fairchem/core/datasets/base_dataset.py index 9f8aac3d0..d0d789560 100644 --- a/src/fairchem/core/datasets/base_dataset.py +++ b/src/fairchem/core/datasets/base_dataset.py @@ -13,7 +13,6 @@ from typing import ( TYPE_CHECKING, Any, - NamedTuple, TypeVar, ) @@ -109,7 +108,7 @@ def _metadata(self) -> DatasetMetadata: metadata = DatasetMetadata( **{ field: np.concatenate([metadata[field] for metadata in metadata_npzs]) - for field in metadata_npzs[0].keys() + for field in metadata_npzs[0] } )